pub struct YenPath<N> {
pub nodes: Vec<N>,
pub cost: f64,
}Expand description
A single path with its node sequence and total cost.
Fields§
§nodes: Vec<N>Ordered node sequence from origin to destination (inclusive).
cost: f64Total path cost.
Trait Implementations§
Auto Trait Implementations§
impl<N> Freeze for YenPath<N>
impl<N> RefUnwindSafe for YenPath<N>where
N: RefUnwindSafe,
impl<N> Send for YenPath<N>where
N: Send,
impl<N> Sync for YenPath<N>where
N: Sync,
impl<N> Unpin for YenPath<N>where
N: Unpin,
impl<N> UnsafeUnpin for YenPath<N>
impl<N> UnwindSafe for YenPath<N>where
N: 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