Struct jec_rccow::RcCow
[−]
[src]
pub struct RcCow<T> where
T: 'static, { /* fields omitted */ }
Methods
impl<T> RcCow<T>
[src]
fn to_mut(&mut self) -> &mut T where
T: Clone,
T: Clone,
fn into_owned(self) -> T where
T: Clone,
T: Clone,
fn unwrap(self) -> Rc<T>
impl<T> RcCow<T>
[src]
Trait Implementations
impl<T: Clone> Clone for RcCow<T> where
T: 'static,
[src]
T: 'static,
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: Debug> Debug for RcCow<T> where
T: 'static,
[src]
T: 'static,
impl<T> Display for RcCow<T> where
T: Display,
[src]
T: Display,
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> DerefMut for RcCow<T> where
T: Clone,
[src]
T: Clone,
fn deref_mut(&mut self) -> &mut T
The method called to mutably dereference a value