Struct amethyst::ecs::shred::FetchMut[]

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

Allows to fetch a resource in a system mutably.

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

Type parameters

Trait Implementations

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

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<'a, T, F> From<FetchMut<'a, T>> for Write<'a, T, F>

Performs the conversion.

impl<'a, T> DerefMut for FetchMut<'a, T> where
    T: Resource

Important traits for &'a mut R

Mutably dereferences the value.

Auto Trait Implementations

impl<'a, T> Send for FetchMut<'a, T> where
    T: Send

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