pub struct PathInfo {
pub nodes: Vec<NodeId>,
pub total_weight: f64,
}Expand description
Information about a path through the graph.
Fields§
§nodes: Vec<NodeId>Sequence of nodes in the path.
total_weight: f64Total weight/cost of the path.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathInfo
impl RefUnwindSafe for PathInfo
impl Send for PathInfo
impl Sync for PathInfo
impl Unpin for PathInfo
impl UnwindSafe for PathInfo
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