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

Required Associated Types

The component type of the storage

Required Methods

Get immutable access to an Entitys component

Private function to seal the trait

Implementors