pub enum Ancestor<N> {
Ancestor(N),
Parent(N),
Anonymous,
}
Expand description
Ancestor type indication for an ancestor or parent node.
Variants§
Ancestor(N)
The node is an eventual ancestor.
Parent(N)
The node is an immediate parent.
Anonymous
The node is an anonymous ancestor.
Auto Trait Implementations§
impl<N> Freeze for Ancestor<N>where
N: Freeze,
impl<N> RefUnwindSafe for Ancestor<N>where
N: RefUnwindSafe,
impl<N> Send for Ancestor<N>where
N: Send,
impl<N> Sync for Ancestor<N>where
N: Sync,
impl<N> Unpin for Ancestor<N>where
N: Unpin,
impl<N> UnwindSafe for Ancestor<N>where
N: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more