Struct shred::cell::Ref
[−]
[src]
pub struct Ref<'a, 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: Debug + 'a> Debug for Ref<'a, T>
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl<'a, T> Deref for Ref<'a, T>
[src]
type Target = T
The resulting type after dereferencing.
fn deref(&self) -> &T
[src]
Dereferences the value.