Enum rupta::util::index_tree::NodeEdge
source · pub enum NodeEdge {
Start(usize),
End(usize),
}Expand description
Indicator if the node is at a start or endpoint of the tree
Variants§
Start(usize)
Indicates that start of a node that has children.
Yielded by Traverse::next() before the node’s descendants.
End(usize)
Indicates that end of a node that has children.
Yielded by Traverse::next() after the node’s descendants.
Trait Implementations§
source§impl PartialEq for NodeEdge
impl PartialEq for NodeEdge
impl Copy for NodeEdge
impl Eq for NodeEdge
impl StructuralPartialEq for NodeEdge
Auto Trait Implementations§
impl RefUnwindSafe for NodeEdge
impl Send for NodeEdge
impl Sync for NodeEdge
impl Unpin for NodeEdge
impl UnwindSafe for NodeEdge
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.