Trait HasParent

Source
pub trait HasParent {
    type Parent;

    // Required method
    fn as_parent(&self) -> &Self::Parent;
}

Required Associated Types§

Required Methods§

Source

fn as_parent(&self) -> &Self::Parent

Implementors§