pub struct DijkstraWorkspace<Node, Cost> { /* private fields */ }Expand description
Reusable distances, predecessors, node slots, and priority queue.
Implementations§
Source§impl<Node, Cost: Measure> DijkstraWorkspace<Node, Cost>
impl<Node, Cost: Measure> DijkstraWorkspace<Node, Cost>
Trait Implementations§
Source§impl<Node: Clone, Cost: Clone> Clone for DijkstraWorkspace<Node, Cost>
impl<Node: Clone, Cost: Clone> Clone for DijkstraWorkspace<Node, Cost>
Source§fn clone(&self) -> DijkstraWorkspace<Node, Cost>
fn clone(&self) -> DijkstraWorkspace<Node, Cost>
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<Node, Cost> Freeze for DijkstraWorkspace<Node, Cost>
impl<Node, Cost> RefUnwindSafe for DijkstraWorkspace<Node, Cost>where
Cost: RefUnwindSafe,
Node: RefUnwindSafe,
impl<Node, Cost> Send for DijkstraWorkspace<Node, Cost>
impl<Node, Cost> Sync for DijkstraWorkspace<Node, Cost>
impl<Node, Cost> Unpin for DijkstraWorkspace<Node, Cost>
impl<Node, Cost> UnsafeUnpin for DijkstraWorkspace<Node, Cost>
impl<Node, Cost> UnwindSafe for DijkstraWorkspace<Node, Cost>where
Cost: UnwindSafe,
Node: UnwindSafe,
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