pub struct Route {
pub path: Vec<usize>,
pub edges: Vec<usize>,
pub cost: f64,
}Expand description
A route as node path plus the input-order indices of the edges traversed (so callers can recover attributes/geometry, parallel edges included).
Fields§
§path: Vec<usize>§edges: Vec<usize>§cost: f64Auto Trait Implementations§
impl Freeze for Route
impl RefUnwindSafe for Route
impl Send for Route
impl Sync for Route
impl Unpin for Route
impl UnsafeUnpin for Route
impl UnwindSafe for Route
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