[][src]Struct shine_ecs::resources::unnamed::ReadStore

pub struct ReadStore<'a, D> where
    D: 'static, 
{ /* fields omitted */ }

Grant immutable access to a (unnamed) store inside a System

Methods from Deref<Target = Store<D>>

pub fn read(&self) -> ReadGuard<D>[src]

Trait Implementations

impl<'a, D> Deref for ReadStore<'a, D> where
    D: 'static, 
[src]

type Target = Store<D>

The resulting type after dereferencing.

impl<'a, D> SystemData<'a> for ReadStore<'a, D> where
    D: 'static, 
[src]

Auto Trait Implementations

impl<'a, D> Send for ReadStore<'a, D>

impl<'a, D> Sync for ReadStore<'a, D>

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