pub unsafe trait HasParentMut: KnowsVisitor {
// Required method
unsafe fn parent_mut(&mut self) -> Option<Self::VisitorMut>;
}
Expand description
A trait for objects that have a parent mutably. By design, accessing a Visitor parent is unsafe.
Required Methods§
Sourceunsafe fn parent_mut(&mut self) -> Option<Self::VisitorMut>
unsafe fn parent_mut(&mut self) -> Option<Self::VisitorMut>
Gets the parent of the object.