pub struct AllShortestPaths {
pub paths: Vec<Vec<Vec<VertexId>>>,
pub nrgeo: Vec<u64>,
}Expand description
Result of get_all_shortest_paths /
get_all_shortest_paths_with_mode.
Fields§
§paths: Vec<Vec<Vec<VertexId>>>All shortest paths grouped by target vertex. paths[v] is the
list of all shortest paths from the source to vertex v. If v
is unreachable, paths[v] is empty.
nrgeo: Vec<u64>Number of shortest paths to each vertex. nrgeo[v] is the count
of shortest paths from source to v (0 if unreachable, 1 for
the source itself).
Trait Implementations§
Source§impl Clone for AllShortestPaths
impl Clone for AllShortestPaths
Source§fn clone(&self) -> AllShortestPaths
fn clone(&self) -> AllShortestPaths
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 AllShortestPaths
impl Debug for AllShortestPaths
Source§impl PartialEq for AllShortestPaths
impl PartialEq for AllShortestPaths
impl Eq for AllShortestPaths
impl StructuralPartialEq for AllShortestPaths
Auto Trait Implementations§
impl Freeze for AllShortestPaths
impl RefUnwindSafe for AllShortestPaths
impl Send for AllShortestPaths
impl Sync for AllShortestPaths
impl Unpin for AllShortestPaths
impl UnsafeUnpin for AllShortestPaths
impl UnwindSafe for AllShortestPaths
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