Struct amethyst::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
T: The type of the resource
Trait Implementations
impl<'a, T> Deref for FetchMut<'a, T> where
T: Resource,
impl<'a, T> Deref for FetchMut<'a, T> where
T: Resource, type Target = T
The resulting type after dereferencing.
ⓘImportant traits for &'a mut Rfn deref(&self) -> &T
ⓘImportant traits for &'a mut R
fn deref(&self) -> &TDereferences the value.
impl<'a, T, F> From<FetchMut<'a, T>> for Write<'a, T, F>
impl<'a, T, F> From<FetchMut<'a, T>> for Write<'a, T, F>impl<'a, T> DerefMut for FetchMut<'a, T> where
T: Resource,
impl<'a, T> DerefMut for FetchMut<'a, T> where
T: Resource,