pub struct CpmResult {
pub task_id: TaskId,
pub es: i64,
pub ef: i64,
pub ls: i64,
pub lf: i64,
pub total_slack: i64,
pub free_slack: i64,
pub is_critical: bool,
pub duration: i64,
}Expand description
Result of CPM scheduling for a single task
Fields§
§task_id: TaskId§es: i64Early Start (days from project start)
ef: i64Early Finish (days from project start)
ls: i64Late Start (days from project start)
lf: i64Late Finish (days from project start)
total_slack: i64Total Slack (days) - ALWAYS >= 0 for valid CPM
free_slack: i64Free Slack (days)
is_critical: boolOn critical path (total_slack == 0)
duration: i64Duration in days
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CpmResult
impl RefUnwindSafe for CpmResult
impl Send for CpmResult
impl Sync for CpmResult
impl Unpin for CpmResult
impl UnwindSafe for CpmResult
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