pub enum DependencyKind {
FinishStart,
StartStart,
FinishFinish,
StartFinish,
}Expand description
Temporal lower bound relating two activity endpoints.
Variants§
FinishStart
Successor start is bounded by predecessor finish plus lag.
StartStart
Successor start is bounded by predecessor start plus lag.
FinishFinish
Successor finish is bounded by predecessor finish plus lag.
StartFinish
Successor finish is bounded by predecessor start plus lag.
Implementations§
Source§impl DependencyKind
impl DependencyKind
Sourcepub fn abbreviation(self) -> &'static str
pub fn abbreviation(self) -> &'static str
Stable two-letter relation name, independent of declaration order.
Sourcepub fn predecessor_endpoint(self) -> Endpoint
pub fn predecessor_endpoint(self) -> Endpoint
Predecessor event the relation waits for: its start (SS, SF) or its finish (FS, FF).
Sourcepub fn successor_endpoint(self) -> Endpoint
pub fn successor_endpoint(self) -> Endpoint
Successor event the relation constrains: its start (FS, SS) or its finish (FF, SF).
Trait Implementations§
Source§impl Clone for DependencyKind
impl Clone for DependencyKind
impl Copy for DependencyKind
Source§impl Debug for DependencyKind
impl Debug for DependencyKind
Source§impl<'de> Deserialize<'de> for DependencyKind
impl<'de> Deserialize<'de> for DependencyKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DependencyKind
Source§impl Hash for DependencyKind
impl Hash for DependencyKind
Source§impl Ord for DependencyKind
impl Ord for DependencyKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for DependencyKind
impl PartialEq for DependencyKind
Source§impl PartialOrd for DependencyKind
impl PartialOrd for DependencyKind
Source§impl Serialize for DependencyKind
impl Serialize for DependencyKind
impl StructuralPartialEq for DependencyKind
Auto Trait Implementations§
impl Freeze for DependencyKind
impl RefUnwindSafe for DependencyKind
impl Send for DependencyKind
impl Sync for DependencyKind
impl Unpin for DependencyKind
impl UnsafeUnpin for DependencyKind
impl UnwindSafe for DependencyKind
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