pub struct EdgeInput {
pub left: usize,
pub right: usize,
pub weight: u64,
}Expand description
Fields§
§left: usizeLeft endpoint node index in canonical order.
Callers must provide left < right.
right: usizeRight endpoint node index in canonical order.
Callers must provide left < right.
weight: u64Positive edge weight carried into the adjacency list.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EdgeInput
impl RefUnwindSafe for EdgeInput
impl Send for EdgeInput
impl Sync for EdgeInput
impl Unpin for EdgeInput
impl UnsafeUnpin for EdgeInput
impl UnwindSafe for EdgeInput
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