Struct binary_tree::cow::RcCow [] [src]

pub struct RcCow<T>(pub Rc<T>);

Methods

impl<T: Clone> RcCow<T>
[src]

fn new(value: T) -> RcCow<T>

Trait Implementations

impl<T> Clone for RcCow<T>
[src]

fn clone(&self) -> RcCow<T>

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl<T> Deref for RcCow<T>
[src]

type Target = T

The resulting type after dereferencing

fn deref(&self) -> &T

The method called to dereference a value

impl<T: Clone> DerefMut for RcCow<T>
[src]

fn deref_mut(&mut self) -> &mut T

The method called to mutably dereference a value