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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more