pub struct TaskDemand {
pub start: VariableId,
pub duration: u64,
pub demand: u32,
}Expand description
Specification of a task participating in a Cumulative constraint.
Fields§
§start: VariableId§duration: u64§demand: u32Trait Implementations§
Source§impl Clone for TaskDemand
impl Clone for TaskDemand
Source§fn clone(&self) -> TaskDemand
fn clone(&self) -> TaskDemand
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Freeze for TaskDemand
impl RefUnwindSafe for TaskDemand
impl Send for TaskDemand
impl Sync for TaskDemand
impl Unpin for TaskDemand
impl UnsafeUnpin for TaskDemand
impl UnwindSafe for TaskDemand
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