pub struct TraversalPath {
pub start_id: i64,
pub end_id: i64,
pub steps: Vec<PathStep>,
pub total_weight: f64,
}Expand description
Complete path from source to target
Fields§
§start_id: i64§end_id: i64§steps: Vec<PathStep>§total_weight: f64Trait Implementations§
Source§impl Clone for TraversalPath
impl Clone for TraversalPath
Source§fn clone(&self) -> TraversalPath
fn clone(&self) -> TraversalPath
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 moreAuto Trait Implementations§
impl Freeze for TraversalPath
impl RefUnwindSafe for TraversalPath
impl Send for TraversalPath
impl Sync for TraversalPath
impl Unpin for TraversalPath
impl UnsafeUnpin for TraversalPath
impl UnwindSafe for TraversalPath
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