Struct rinecs::storage::CreationSto [−][src]
pub struct CreationSto<'a, C> where
C: Component, { /* fields omitted */ }
Implementations
impl<'a, C> CreationSto<'a, C> where
C: Component,
C::Storage: Storage<'s, C>,
[src]
impl<'a, C> CreationSto<'a, C> where
C: Component,
C::Storage: Storage<'s, C>,
[src]pub fn add_component(&mut self, entity: &Entity, component: C)
[src]
pub fn remove_component(&mut self, entity: &Entity)
[src]
pub fn get(
&self,
entity: &Entity
) -> Option<<C::Storage as Storage<'_, C>>::Get>
[src]
&self,
entity: &Entity
) -> Option<<C::Storage as Storage<'_, C>>::Get>
pub fn get_mut(
&mut self,
entity: &Entity
) -> Option<<C::Storage as Storage<'_, C>>::GetMut>
[src]
&mut self,
entity: &Entity
) -> Option<<C::Storage as Storage<'_, C>>::GetMut>
Trait Implementations
impl<'r, 'a, C> StorageEntitiesExt<'a, Read<'a, C>> for &'r CreationSto<'a, C> where
C: Component,
C::Storage: Storage<'s, C>,
[src]
impl<'r, 'a, C> StorageEntitiesExt<'a, Read<'a, C>> for &'r CreationSto<'a, C> where
C: Component,
C::Storage: Storage<'s, C>,
[src]impl<'r, 'a, C> StorageEntitiesExt<'a, Write<'a, C>> for &'r mut CreationSto<'a, C> where
C: Component,
C::Storage: Storage<'s, C>,
[src]
impl<'r, 'a, C> StorageEntitiesExt<'a, Write<'a, C>> for &'r mut CreationSto<'a, C> where
C: Component,
C::Storage: Storage<'s, C>,
[src]impl<'a, C> StorageWrapper for CreationSto<'a, C> where
C: Component,
[src]
impl<'a, C> StorageWrapper for CreationSto<'a, C> where
C: Component,
[src]