trait CellOptionRc<T> {
// Required methods
fn take_if_unique_strong(&self) -> Option<Rc<T>>;
fn clone_inner(&self) -> Option<Rc<T>>;
}
Required Methods§
Sourcefn take_if_unique_strong(&self) -> Option<Rc<T>>
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.