Enum tskit::NodeTraversalOrder
source · pub enum NodeTraversalOrder {
Preorder,
Postorder,
}
Expand description
Specify the traversal order used by
TreeInterface::traverse_nodes
.
Variants
Preorder
Preorder traversal, starting at the root(s) of a TreeInterface
.
For trees with multiple roots, start at the left root,
traverse to tips, proceeed to the next root, etc..
Postorder
Postorder traversal, starting at the root(s) of a TreeInterface
.
For trees with multiple roots, start at the left root,
traverse to tips, proceeed to the next root, etc..
Auto Trait Implementations
impl RefUnwindSafe for NodeTraversalOrder
impl Send for NodeTraversalOrder
impl Sync for NodeTraversalOrder
impl Unpin for NodeTraversalOrder
impl UnwindSafe for NodeTraversalOrder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more