Struct binary_tree::cow::ArcCow [] [src]

pub struct ArcCow<T>(pub Arc<T>);

Methods

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

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

Trait Implementations

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

fn clone(&self) -> ArcCow<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 ArcCow<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 ArcCow<T>
[src]

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

The method called to mutably dereference a value