Trait specs::storage::GenericReadStorage[][src]

pub trait GenericReadStorage {
    type Component: Component;
    fn get(&self, entity: Entity) -> Option<&Self::Component>;
fn _private() -> Seal; }
Expand description

Provides generic read access to both ReadStorage and WriteStorage

Associated Types

The component type of the storage

Required methods

Get immutable access to an Entitys component

Private function to seal the trait

Implementors