Trait HasThis

Source
pub trait HasThis<T = Self> {
    // Required method
    fn this(&self) -> Cow<'_, WeakNode<T>>;
}
Expand description

A trait implemented by values which have a weak node address associated with them

Required Methods§

Source

fn this(&self) -> Cow<'_, WeakNode<T>>

Get a Cow of the weak node address associated with this value. May be null if there is none.

Implementors§

Source§

impl<T> HasThis<T> for Node<T>

Source§

impl<T> HasThis<T> for WeakNode<T>