pub struct Hop {
pub key: UrlKey,
pub from: UrlKey,
pub etype: EdgeType,
pub depth: u32,
pub exact_chain: bool,
}Expand description
One node reached by a walk.
Fields§
§key: UrlKeyThe node reached.
from: UrlKeyThe node it was reached from.
etype: EdgeTypeThe type of the edge crossed.
depth: u32Hops from the start (1 for direct neighbours).
exact_chain: boolEvery edge on the path carries eflags::EXACT (an unchanged copy).
Trait Implementations§
impl Copy for Hop
impl Eq for Hop
impl StructuralPartialEq for Hop
Auto Trait Implementations§
impl Freeze for Hop
impl RefUnwindSafe for Hop
impl Send for Hop
impl Sync for Hop
impl Unpin for Hop
impl UnsafeUnpin for Hop
impl UnwindSafe for Hop
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