pub struct TraversalResult { /* private fields */ }Expand description
Materialized graph traversal result.
Rows are unique by canonical element and ordered by BFS first discovery.
§Performance
Iterating rows is O(row count).
Implementations§
Source§impl TraversalResult
impl TraversalResult
Sourcepub fn rows(&self) -> &[TraversalRow]
pub fn rows(&self) -> &[TraversalRow]
Trait Implementations§
Source§impl Clone for TraversalResult
impl Clone for TraversalResult
Source§fn clone(&self) -> TraversalResult
fn clone(&self) -> TraversalResult
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 TraversalResult
impl Debug for TraversalResult
Source§impl PartialEq for TraversalResult
impl PartialEq for TraversalResult
Source§fn eq(&self, other: &TraversalResult) -> bool
fn eq(&self, other: &TraversalResult) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TraversalResult
impl StructuralPartialEq for TraversalResult
Auto Trait Implementations§
impl Freeze for TraversalResult
impl RefUnwindSafe for TraversalResult
impl Send for TraversalResult
impl Sync for TraversalResult
impl Unpin for TraversalResult
impl UnsafeUnpin for TraversalResult
impl UnwindSafe for TraversalResult
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