Struct vrp_core::models::common::Demand [−][src]
pub struct Demand<T: Load + Add<Output = T> + Sub<Output = T> + 'static> {
pub pickup: (T, T),
pub delivery: (T, T),
}Expand description
Represents job demand, both static and dynamic.
Fields
pickup: (T, T)Keeps static and dynamic pickup amount.
delivery: (T, T)Keeps static and dynamic delivery amount.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for Demand<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Demand<T> where
T: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more