pub struct SpanningForest {
pub edges: Vec<Edge>,
pub weight: f64,
}Expand description
A minimum spanning forest: its edges and total weight (one tree per connected component).
Fields§
§edges: Vec<Edge>§weight: f64Trait Implementations§
Source§impl Clone for SpanningForest
impl Clone for SpanningForest
Source§impl Debug for SpanningForest
impl Debug for SpanningForest
Source§impl PartialEq for SpanningForest
impl PartialEq for SpanningForest
impl StructuralPartialEq for SpanningForest
Auto Trait Implementations§
impl Freeze for SpanningForest
impl RefUnwindSafe for SpanningForest
impl Send for SpanningForest
impl Sync for SpanningForest
impl Unpin for SpanningForest
impl UnsafeUnpin for SpanningForest
impl UnwindSafe for SpanningForest
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