pub struct PrimGraph {
pub n: usize,
pub adj: Vec<Vec<(usize, f32)>>,
}Expand description
An undirected weighted graph.
Fields§
§n: usize§adj: Vec<Vec<(usize, f32)>>Implementations§
Auto Trait Implementations§
impl Freeze for PrimGraph
impl RefUnwindSafe for PrimGraph
impl Send for PrimGraph
impl Sync for PrimGraph
impl Unpin for PrimGraph
impl UnsafeUnpin for PrimGraph
impl UnwindSafe for PrimGraph
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