pub struct BellmanFordOutput {
pub dist: Vec<f64>,
pub parent: Vec<usize>,
}Fields§
§dist: Vec<f64>§parent: Vec<usize>Trait Implementations§
Source§impl Clone for BellmanFordOutput
impl Clone for BellmanFordOutput
Source§fn clone(&self) -> BellmanFordOutput
fn clone(&self) -> BellmanFordOutput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for BellmanFordOutput
impl RefUnwindSafe for BellmanFordOutput
impl Send for BellmanFordOutput
impl Sync for BellmanFordOutput
impl Unpin for BellmanFordOutput
impl UnsafeUnpin for BellmanFordOutput
impl UnwindSafe for BellmanFordOutput
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