Struct arbtree::NodePosition
source · [−]pub struct NodePosition {
pub depth: usize,
pub arena_idx: usize,
pub children: Vec<usize>,
pub parent_idx: usize,
}
Fields
depth: usize
arena_idx: usize
children: Vec<usize>
parent_idx: usize
Trait Implementations
sourceimpl Clone for NodePosition
impl Clone for NodePosition
sourcefn clone(&self) -> NodePosition
fn clone(&self) -> NodePosition
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NodePosition
impl Debug for NodePosition
sourceimpl PartialEq<NodePosition> for NodePosition
impl PartialEq<NodePosition> for NodePosition
sourcefn eq(&self, other: &NodePosition) -> bool
fn eq(&self, other: &NodePosition) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &NodePosition) -> bool
fn ne(&self, other: &NodePosition) -> bool
This method tests for !=
.
impl Eq for NodePosition
impl StructuralEq for NodePosition
impl StructuralPartialEq for NodePosition
Auto Trait Implementations
impl RefUnwindSafe for NodePosition
impl Send for NodePosition
impl Sync for NodePosition
impl Unpin for NodePosition
impl UnwindSafe for NodePosition
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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