pub trait HasParent: KnowsVisitor { // Required method fn parent(&self) -> Option<Self::Visitor>; }
A trait for objects that have a parent.
Gets the parent of the object.