Enum pddl_parser::domain::expression::DurationInstant
source · pub enum DurationInstant {
Start,
End,
All,
}Expand description
An enumeration of duration instants that can be used in expressions. The duration instant can be one of at start, at end, or over all.
Variants§
Start
The duration instant at start represents the start of the action.
End
The duration instant at end represents the end of the action.
All
The duration instant over all represents the entire duration of the action.
Trait Implementations§
source§impl Clone for DurationInstant
impl Clone for DurationInstant
source§fn clone(&self) -> DurationInstant
fn clone(&self) -> DurationInstant
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DurationInstant
impl Debug for DurationInstant
source§impl<'de> Deserialize<'de> for DurationInstant
impl<'de> Deserialize<'de> for DurationInstant
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
source§impl Hash for DurationInstant
impl Hash for DurationInstant
source§impl Ord for DurationInstant
impl Ord for DurationInstant
source§fn cmp(&self, other: &DurationInstant) -> Ordering
fn cmp(&self, other: &DurationInstant) -> Ordering
1.21.0 · 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
source§impl PartialEq for DurationInstant
impl PartialEq for DurationInstant
source§fn eq(&self, other: &DurationInstant) -> bool
fn eq(&self, other: &DurationInstant) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for DurationInstant
impl PartialOrd for DurationInstant
source§fn partial_cmp(&self, other: &DurationInstant) -> Option<Ordering>
fn partial_cmp(&self, other: &DurationInstant) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Serialize for DurationInstant
impl Serialize for DurationInstant
impl Eq for DurationInstant
impl StructuralPartialEq for DurationInstant
Auto Trait Implementations§
impl RefUnwindSafe for DurationInstant
impl Send for DurationInstant
impl Sync for DurationInstant
impl Unpin for DurationInstant
impl UnwindSafe for DurationInstant
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