pub struct TraversalRow {
pub element: ElementId,
pub depth: usize,
}Expand description
Fields§
§element: ElementIdCanonical element discovered by traversal.
depth: usizeShortest discovered hop depth from any seed.
Trait Implementations§
Source§impl Clone for TraversalRow
impl Clone for TraversalRow
Source§fn clone(&self) -> TraversalRow
fn clone(&self) -> TraversalRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraversalRow
impl Debug for TraversalRow
Source§impl Hash for TraversalRow
impl Hash for TraversalRow
Source§impl Ord for TraversalRow
impl Ord for TraversalRow
Source§fn cmp(&self, other: &TraversalRow) -> Ordering
fn cmp(&self, other: &TraversalRow) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TraversalRow
impl PartialEq for TraversalRow
Source§fn eq(&self, other: &TraversalRow) -> bool
fn eq(&self, other: &TraversalRow) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TraversalRow
impl PartialOrd for TraversalRow
impl Copy for TraversalRow
impl Eq for TraversalRow
impl StructuralPartialEq for TraversalRow
Auto Trait Implementations§
impl Freeze for TraversalRow
impl RefUnwindSafe for TraversalRow
impl Send for TraversalRow
impl Sync for TraversalRow
impl Unpin for TraversalRow
impl UnsafeUnpin for TraversalRow
impl UnwindSafe for TraversalRow
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