Struct cell_rc::CellOptWeak [] [src]

pub struct CellOptWeak<T: ?Sized> { /* fields omitted */ }

Wrapper around Option<Weak<T>>

Methods

impl<T: ?Sized> CellOptWeak<T>
[src]

Returns None if the wrapped Option<Weak<T>> is None, Some(None) if there aren't strong references left, or Some(Some(..)) otherwise.

Trait Implementations

impl<T: Debug + ?Sized> Debug for CellOptWeak<T>
[src]

Formats the value using the given formatter.

impl<T: Default + ?Sized> Default for CellOptWeak<T>
[src]

Returns the "default value" for a type. Read more

impl<T: ?Sized> From<Option<Weak<T>>> for CellOptWeak<T>
[src]

Performs the conversion.

impl<T: ?Sized> Clone for CellOptWeak<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more