pub enum Interval {
Stepped,
Delay(f32),
Timed(Duration),
}Expand description
The type of clocking mechanism to use
Variants§
Stepped
Indicates that the parameter should be manually stepped
Delay(f32)
Adds a relative delay to the default clock times
Timed(Duration)
Schedules an event in a fixed interval
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Interval
impl RefUnwindSafe for Interval
impl Send for Interval
impl Sync for Interval
impl Unpin for Interval
impl UnwindSafe for Interval
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