pub struct Lag {
pub id: EntityId,
pub duration: Option<String>,
pub ratio: Option<f64>,
}Expand description
The lag between two sequenced tasks.
Fields§
§id: EntityIdThe IfcLagTime entity.
duration: Option<String>The lag as an authored ISO 8601 duration, when stated as a duration.
ratio: Option<f64>The lag as a ratio, when stated as one.
IfcTimeOrRatioSelect admits both. A ratio lag means “start when the
predecessor is 50% done” and cannot be converted to a duration without
knowing that task’s own duration.
Trait Implementations§
impl StructuralPartialEq for Lag
Auto Trait Implementations§
impl Freeze for Lag
impl RefUnwindSafe for Lag
impl Send for Lag
impl Sync for Lag
impl Unpin for Lag
impl UnsafeUnpin for Lag
impl UnwindSafe for Lag
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