Struct vrp_core::models::solution::CommuteInfo
source · Expand description
Commute information.
Fields§
§location: LocationA previous or next location.
distance: DistanceTravelled distance.
duration: DurationTravelled duration.
Implementations§
source§impl CommuteInfo
impl CommuteInfo
sourcepub fn is_zero_distance(&self) -> bool
pub fn is_zero_distance(&self) -> bool
Checks whether there is no distance costs for part of commute.
Trait Implementations§
source§impl Clone for CommuteInfo
impl Clone for CommuteInfo
source§fn clone(&self) -> CommuteInfo
fn clone(&self) -> CommuteInfo
Returns a copy 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 more