Struct supercow::Ref
[−]
[src]
pub struct Ref<'a, P> where P: RefParent + 'a { /* fields omitted */ }
Provides mutable access to an owned value within a Supercow
.
This is similar to the Ref
used with RefCell
.
Trait Implementations
impl<'a, P> Deref for Ref<'a, P> where P: RefParent + 'a
[src]
type Target = P::Owned
The resulting type after dereferencing
fn deref(&self) -> &P::Owned
The method called to dereference a value
impl<'a, P> DerefMut for Ref<'a, P> where P: RefParent + 'a
[src]
fn deref_mut(&mut self) -> &mut P::Owned
The method called to mutably dereference a value