Trait CellOptionRc

Source
trait CellOptionRc<T> {
    // Required methods
    fn take_if_unique_strong(&self) -> Option<Rc<T>>;
    fn clone_inner(&self) -> Option<Rc<T>>;
}

Required Methods§

Source

fn take_if_unique_strong(&self) -> Option<Rc<T>>

Return Some if this Rc is the only strong reference count, even if there are weak references.

Source

fn clone_inner(&self) -> Option<Rc<T>>

Implementations on Foreign Types§

Source§

impl<T> CellOptionRc<T> for Cell<Option<Rc<T>>>

Implementors§