chore: add rustfmt config
This commit is contained in:
parent
9abc4d483b
commit
9c2a86a8f4
98 changed files with 419 additions and 540 deletions
|
|
@ -3,10 +3,8 @@
|
|||
|
||||
use slotmap::{SecondaryMap, SparseSecondaryMap};
|
||||
|
||||
use super::{
|
||||
Entity, Model, Selectable,
|
||||
category::{ItemCategory, ItemInterface},
|
||||
};
|
||||
use super::category::{ItemCategory, ItemInterface};
|
||||
use super::{Entity, Model, Selectable};
|
||||
|
||||
/// A newly-inserted item which may have additional actions applied to it.
|
||||
pub struct EntityMut<
|
||||
|
|
|
|||
|
|
@ -2,10 +2,8 @@ pub mod category;
|
|||
pub mod entity;
|
||||
pub mod selection;
|
||||
|
||||
use std::{
|
||||
any::{Any, TypeId},
|
||||
collections::{HashMap, VecDeque},
|
||||
};
|
||||
use std::any::{Any, TypeId};
|
||||
use std::collections::{HashMap, VecDeque};
|
||||
|
||||
use category::{ItemCategory, ItemInterface};
|
||||
use entity::EntityMut;
|
||||
|
|
|
|||
|
|
@ -3,10 +3,8 @@
|
|||
|
||||
//! Describes logic specific to the single-select and multi-select modes of a model.
|
||||
|
||||
use super::{
|
||||
Entity, Model,
|
||||
category::{ItemCategory, ItemInterface},
|
||||
};
|
||||
use super::category::{ItemCategory, ItemInterface};
|
||||
use super::{Entity, Model};
|
||||
use std::collections::HashSet;
|
||||
|
||||
/// Describes a type that has selectable items.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue