pub struct Census {
pub types: BTreeMap<TypeName, usize>,
pub things: usize,
pub deleted: usize,
}Expand description
What a space holds, counted: Library::census.
Fields§
§types: BTreeMap<TypeName, usize>How many things have each type, of the things that Census::things counts: a
thing of several types counts for each.
things: usizeHow many things the space holds, as Library::entities lists them: entities that
are not deleted and do not define types, those merged together as one.
deleted: usizeHow many deleted entities the space holds, as Library::deleted lists them: those
that can be restored.
Trait Implementations§
impl Eq for Census
impl StructuralPartialEq for Census
Auto Trait Implementations§
impl Forget for Census
impl Freeze for Census
impl Move for Census
impl RefUnwindSafe for Census
impl Send for Census
impl Sync for Census
impl Unpin for Census
impl UnsafeUnpin for Census
impl UnwindSafe for Census
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.