[−][src]Trait specs::storage::GenericReadStorage
Provides generic read access to both ReadStorage
and WriteStorage
Associated Types
Loading content...Required methods
fn get(&self, entity: Entity) -> Option<&Self::Component>
Get immutable access to an Entity
s component
fn _private() -> Seal
Private function to seal the trait
Implementors
impl<'a, T> GenericReadStorage for ReadStorage<'a, T> where
T: Component,
[src]
T: Component,
type Component = T
fn get(&self, entity: Entity) -> Option<&Self::Component>
[src]
fn _private() -> Seal
[src]
impl<'a, T> GenericReadStorage for WriteStorage<'a, T> where
T: Component,
[src]
T: Component,
type Component = T
fn get(&self, entity: Entity) -> Option<&Self::Component>
[src]
fn _private() -> Seal
[src]
impl<'a: 'b, 'b, T> GenericReadStorage for &'b ReadStorage<'a, T> where
T: Component,
[src]
T: Component,
type Component = T
fn get(&self, entity: Entity) -> Option<&Self::Component>
[src]
fn _private() -> Seal
[src]
impl<'a: 'b, 'b, T> GenericReadStorage for &'b WriteStorage<'a, T> where
T: Component,
[src]
T: Component,