pub struct BfGraph {
pub n: usize,
pub edges: Vec<BfEdge>,
}Expand description
A weighted directed graph for Bellman-Ford.
Fields§
§n: usize§edges: Vec<BfEdge>Implementations§
Auto Trait Implementations§
impl Freeze for BfGraph
impl RefUnwindSafe for BfGraph
impl Send for BfGraph
impl Sync for BfGraph
impl Unpin for BfGraph
impl UnsafeUnpin for BfGraph
impl UnwindSafe for BfGraph
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