Struct dces::entity::VecEntityStore
source · [−]Expand description
VecEntityStore is the default vector based implementation of an entity store.
Fields
inner: Vec<Entity>
Trait Implementations
sourceimpl Default for VecEntityStore
impl Default for VecEntityStore
sourcefn default() -> VecEntityStore
fn default() -> VecEntityStore
Returns the “default value” for a type. Read more
sourceimpl EntityStore for VecEntityStore
impl EntityStore for VecEntityStore
sourcefn register_entity(&mut self, entity: impl Into<Entity>)
fn register_entity(&mut self, entity: impl Into<Entity>)
Registers the give ‘entity’.
sourcefn remove_entity(&mut self, entity: impl Into<Entity>)
fn remove_entity(&mut self, entity: impl Into<Entity>)
Removes the given ‘entity’.
Auto Trait Implementations
impl RefUnwindSafe for VecEntityStore
impl Send for VecEntityStore
impl Sync for VecEntityStore
impl Unpin for VecEntityStore
impl UnwindSafe for VecEntityStore
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more