pub struct ShortestPathResult {
pub distances: HashMap<VertexId, u64>,
pub previous: HashMap<VertexId, VertexId>,
}Expand description
最短経路の結果
Fields§
§distances: HashMap<VertexId, u64>§previous: HashMap<VertexId, VertexId>Trait Implementations§
Source§impl Clone for ShortestPathResult
impl Clone for ShortestPathResult
Source§fn clone(&self) -> ShortestPathResult
fn clone(&self) -> ShortestPathResult
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 ShortestPathResult
impl Debug for ShortestPathResult
Source§impl Default for ShortestPathResult
impl Default for ShortestPathResult
Source§fn default() -> ShortestPathResult
fn default() -> ShortestPathResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ShortestPathResult
impl RefUnwindSafe for ShortestPathResult
impl Send for ShortestPathResult
impl Sync for ShortestPathResult
impl Unpin for ShortestPathResult
impl UnwindSafe for ShortestPathResult
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