Trait specs::storage::GenericReadStorage
source · [−]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
Required Methods
Get immutable access to an Entity
s component