pub struct ShortestPathsDijkstra {
pub vertex_paths: Vec<Vec<VertexId>>,
pub edge_paths: Vec<Vec<u32>>,
}Expand description
Result of get_shortest_paths_dijkstra: vertex and edge paths
from a single source to all vertices.
Fields§
§vertex_paths: Vec<Vec<VertexId>>vertex_paths[v] is the vertex sequence of a shortest path from
source to v (inclusive at both ends). Empty if v is
unreachable.
edge_paths: Vec<Vec<u32>>edge_paths[v] is the edge-id sequence of a shortest path from
source to v. Empty if v is unreachable.
Trait Implementations§
Source§impl Clone for ShortestPathsDijkstra
impl Clone for ShortestPathsDijkstra
Source§fn clone(&self) -> ShortestPathsDijkstra
fn clone(&self) -> ShortestPathsDijkstra
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ShortestPathsDijkstra
impl Debug for ShortestPathsDijkstra
Source§impl PartialEq for ShortestPathsDijkstra
impl PartialEq for ShortestPathsDijkstra
impl StructuralPartialEq for ShortestPathsDijkstra
Auto Trait Implementations§
impl Freeze for ShortestPathsDijkstra
impl RefUnwindSafe for ShortestPathsDijkstra
impl Send for ShortestPathsDijkstra
impl Sync for ShortestPathsDijkstra
impl Unpin for ShortestPathsDijkstra
impl UnsafeUnpin for ShortestPathsDijkstra
impl UnwindSafe for ShortestPathsDijkstra
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