pub struct Interval<'a> { /* private fields */ }Expand description
Holds the data stored in a Timeline.
This data type is returned by the Iterator over the Timeline and by the at_datetime
method.
Implementations§
Source§impl Interval<'_>
impl Interval<'_>
Sourcepub fn randomize_start(&self) -> Option<Duration>
pub fn randomize_start(&self) -> Option<Duration>
Indicates a randomization time that may be applied to start.
Sourcepub fn value_map(&self) -> &[EventValuesMap]
pub fn value_map(&self) -> &[EventValuesMap]
The actual values that are active during this interval
Trait Implementations§
impl<'a> Eq for Interval<'a>
impl<'a> StructuralPartialEq for Interval<'a>
Auto Trait Implementations§
impl<'a> Freeze for Interval<'a>
impl<'a> RefUnwindSafe for Interval<'a>
impl<'a> Send for Interval<'a>
impl<'a> Sync for Interval<'a>
impl<'a> Unpin for Interval<'a>
impl<'a> UnwindSafe for Interval<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.