pub struct Demand<T: LoadOps> {
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> Send for Demand<T>
impl<T> Sync for Demand<T>
impl<T> Unpin for Demand<T>where
T: Unpin,
impl<T> UnwindSafe for Demand<T>where
T: UnwindSafe,
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