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 duplicate 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§impl PartialOrd for DurationInstant
impl PartialOrd for DurationInstant
Source§impl Serialize for DurationInstant
impl Serialize for DurationInstant
impl Eq for DurationInstant
impl StructuralPartialEq for DurationInstant
Auto Trait Implementations§
impl Freeze for DurationInstant
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