Enum mod3d_base::hierarchy::NodeEnumOp
source · 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 copy 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)