pub struct MSTEdge {
pub u: String,
pub v: String,
pub weight: f64,
}Expand description
An undirected, weighted edge for minimum spanning tree algorithms.
Fields§
§u: StringOne endpoint of the edge.
v: StringThe other endpoint of the edge.
weight: f64Edge weight.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MSTEdge
impl RefUnwindSafe for MSTEdge
impl Send for MSTEdge
impl Sync for MSTEdge
impl Unpin for MSTEdge
impl UnsafeUnpin for MSTEdge
impl UnwindSafe for MSTEdge
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