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]

The resulting type after dereferencing

[]

The method called to dereference a value

impl<'a, P> DerefMut for Ref<'a, P> where P: RefParent + 'a
[src]

[]

The method called to mutably dereference a value

impl<'a, P> Drop for Ref<'a, P> where P: RefParent + 'a
[src]

[]

A method called when the value goes out of scope. Read more