pub struct PathNode {
pub entity_id: Uuid,
pub depth: usize,
pub via_edge: Option<Edge>,
}Expand description
A node in a traversal path.
Fields§
§entity_id: UuidEntity at this position.
depth: usizeDistance from the start node (0 = start node).
via_edge: Option<Edge>Edge that led to this node (None for the start node).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathNode
impl RefUnwindSafe for PathNode
impl Send for PathNode
impl Sync for PathNode
impl Unpin for PathNode
impl UnsafeUnpin for PathNode
impl UnwindSafe for PathNode
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