pub struct Hop {
pub node: Node,
pub depth: usize,
pub via: EdgeKind,
}Expand description
A node plus how far it sits from the focus (BFS depth) and via which relation.
Fields§
§node: Node§depth: usize§via: EdgeKindTrait Implementations§
Auto Trait Implementations§
impl Forget for Hop
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