pub struct DijkstraOutput {
pub dist: Vec<f64>,
pub parent: Vec<usize>,
}Expand description
Result of a Dijkstra run from a single source.
Fields§
§dist: Vec<f64>§parent: Vec<usize>Trait Implementations§
Source§impl Clone for DijkstraOutput
impl Clone for DijkstraOutput
Source§fn clone(&self) -> DijkstraOutput
fn clone(&self) -> DijkstraOutput
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 DijkstraOutput
impl RefUnwindSafe for DijkstraOutput
impl Send for DijkstraOutput
impl Sync for DijkstraOutput
impl Unpin for DijkstraOutput
impl UnsafeUnpin for DijkstraOutput
impl UnwindSafe for DijkstraOutput
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