Struct vrp_core::construction::features::TourLimitKeys
source · pub struct TourLimitKeys {
pub duration_key: StateKey,
pub schedule_keys: ScheduleKeys,
pub distance_code: ViolationCode,
pub duration_code: ViolationCode,
}
Expand description
Combines all keys needed for tour limits feature usage.
Fields§
§duration_key: StateKey
A key to track duration limit.
schedule_keys: ScheduleKeys
Schedule keys.
distance_code: ViolationCode
A distance constraint violation code.
duration_code: ViolationCode
A duration constraint violation code.
Trait Implementations§
source§impl Clone for TourLimitKeys
impl Clone for TourLimitKeys
source§fn clone(&self) -> TourLimitKeys
fn clone(&self) -> TourLimitKeys
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 moreAuto Trait Implementations§
impl RefUnwindSafe for TourLimitKeys
impl Send for TourLimitKeys
impl Sync for TourLimitKeys
impl Unpin for TourLimitKeys
impl UnwindSafe for TourLimitKeys
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