Struct amethyst::ecs::shred::Fetch[]

pub struct Fetch<'a, T> where
    T: 'a, 
{ /* fields omitted */ }

Allows to fetch a resource in a system immutably.

If the resource isn't strictly required, you should use Option<Fetch<T>>.

Type parameters

Trait Implementations

impl<'a, T> Deref for Fetch<'a, T> where
    T: Resource

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<'a, T, F> From<Fetch<'a, T>> for Read<'a, T, F>

Performs the conversion.

Auto Trait Implementations

impl<'a, T> Send for Fetch<'a, T> where
    T: Sync

impl<'a, T> Sync for Fetch<'a, T> where
    T: Sync