pub enum NodeEnumOp<T> {
Push(T, bool),
Pop(T, bool),
}
Expand description
This enumeration is used as a node hierarchy is enumerated: a node is pushed into, then children are pushed/popped, then the node is popped.
Variants§
Push(T, bool)
Pushing in to the hierarchy to new node index, and true if node has children
Pop(T, bool)
Popping out to the hierarchy to node index
Implementations§
Trait Implementations§
Source§impl<T: Clone> Clone for NodeEnumOp<T>
impl<T: Clone> Clone for NodeEnumOp<T>
Source§fn clone(&self) -> NodeEnumOp<T>
fn clone(&self) -> NodeEnumOp<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Debug> Debug for NodeEnumOp<T>
impl<T: Debug> Debug for NodeEnumOp<T>
Source§impl<T: PartialEq> PartialEq for NodeEnumOp<T>
impl<T: PartialEq> PartialEq for NodeEnumOp<T>
impl<T: Copy> Copy for NodeEnumOp<T>
impl<T> StructuralPartialEq for NodeEnumOp<T>
Auto Trait Implementations§
impl<T> Freeze for NodeEnumOp<T>where
T: Freeze,
impl<T> RefUnwindSafe for NodeEnumOp<T>where
T: RefUnwindSafe,
impl<T> Send for NodeEnumOp<T>where
T: Send,
impl<T> Sync for NodeEnumOp<T>where
T: Sync,
impl<T> Unpin for NodeEnumOp<T>where
T: Unpin,
impl<T> UnwindSafe for NodeEnumOp<T>where
T: 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