Struct amethyst::ecs::shred::cell::RefMut[]

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

A mutable reference to data in a TrustCell.

Access the value via std::ops::DerefMut (e.g. *val)

Trait Implementations

impl<'a, T> Deref for RefMut<'a, T>

The resulting type after dereferencing.

Important traits for &'a mut R

Dereferences the value.

impl<'a, T> Drop for RefMut<'a, T>

Executes the destructor for this type. Read more

impl<'a, T> DerefMut for RefMut<'a, T>

Important traits for &'a mut R

Mutably dereferences the value.

impl<'a, T> Debug for RefMut<'a, T> where
    T: 'a + Debug

Formats the value using the given formatter. Read more

Auto Trait Implementations

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

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