Struct amethyst::shred::cell::Ref [−]
pub struct Ref<'a, T> where
T: 'a, { /* fields omitted */ }An immutable reference to data in a TrustCell.
Access the value via std::ops::Deref (e.g. *val)
Trait Implementations
impl<'a, T> Deref for Ref<'a, T>
impl<'a, T> Deref for Ref<'a, T>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> Drop for Ref<'a, T>
impl<'a, T> Drop for Ref<'a, T>impl<'a, T> Debug for Ref<'a, T> where
T: 'a + Debug,
impl<'a, T> Debug for Ref<'a, T> where
T: 'a + Debug,