[][src]Struct shine_ecs::entities::ds::ReadComponents

pub struct ReadComponents<'a, C> where
    C: Component
{ /* fields omitted */ }

Grant immutable access to the components inside a System

Methods from Deref<Target = ComponentStore<C>>

pub fn count(&self) -> usize[src]

pub fn contains(&self, edge: Edge) -> bool[src]

pub fn get(
    &self,
    edge: Edge
) -> Option<&<<T as Component>::Store as Store>::Item>
[src]

pub fn read(
    &self
) -> WrapRowRead<<T as Component>::Mask, <T as Component>::Store>
[src]

Trait Implementations

impl<'a, C> Deref for ReadComponents<'a, C> where
    C: Component
[src]

type Target = ComponentStore<C>

The resulting type after dereferencing.

impl<'a, C> SystemData<'a> for ReadComponents<'a, C> where
    C: Component
[src]

Auto Trait Implementations

impl<'a, C> Send for ReadComponents<'a, C> where
    <C as Component>::Mask: Sync,
    <C as Component>::Store: Sync

impl<'a, C> Sync for ReadComponents<'a, C> where
    <C as Component>::Mask: Sync,
    <C as Component>::Store: Sync

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Any for T where
    T: Any

impl<T> Resource for T where
    T: Any + Send + Sync
[src]

impl<'a, T> DynamicSystemData for T where
    T: SystemData<'a>, 
[src]

type Accessor = StaticAccessor<T>

The accessor of the SystemData, which specifies the read and write dependencies and does the fetching. Read more