Struct cell_rc::CellWeak
[−]
[src]
pub struct CellWeak<T: ?Sized> { /* fields omitted */ }
Wrapper around Weak<T>
Methods
impl<T: ?Sized> CellWeak<T>
[src]
fn new(weak: Weak<T>) -> Self
fn into_inner(self) -> Weak<T>
fn get(&self) -> Weak<T>
fn set(&self, weak: Weak<T>) -> Weak<T>
fn upgrade(&self) -> Option<Rc<T>>
fn upgrade_cell(&self) -> Option<CellRc<T>>
Trait Implementations
impl<T: Debug + ?Sized> Debug for CellWeak<T>
[src]
impl<T: Default + ?Sized> Default for CellWeak<T>
[src]
impl<T: ?Sized> From<Weak<T>> for CellWeak<T>
[src]
impl<T: ?Sized> Clone for CellWeak<T>
[src]
fn clone(&self) -> Self
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