pub struct Edge {
pub from: String,
pub to: String,
pub branch: usize,
pub kind: EdgeKind,
}Expand description
A way from one node to another.
Fields§
§from: StringThe node it leaves.
to: StringThe node it reaches.
branch: usizeIndex of the branch in from the edge leaves by.
kind: EdgeKindHow it is taken.
Trait Implementations§
impl StructuralPartialEq for Edge
Auto Trait Implementations§
impl Freeze for Edge
impl RefUnwindSafe for Edge
impl Send for Edge
impl Sync for Edge
impl Unpin for Edge
impl UnsafeUnpin for Edge
impl UnwindSafe for Edge
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