#[non_exhaustive]pub enum MissedTick {
Burst,
Delay,
Skip,
}Expand description
What an Interval does about ticks it was too late to take on time.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Burst
Fire the missed ticks one after another at once, then go back to the original grid.
Delay
Start the next period when the late tick fires, so the grid moves.
Skip
Drop the missed ticks and fire the next one on the original grid.
Trait Implementations§
Source§impl Clone for MissedTick
impl Clone for MissedTick
impl Copy for MissedTick
Source§impl Debug for MissedTick
impl Debug for MissedTick
Source§impl Default for MissedTick
impl Default for MissedTick
impl Eq for MissedTick
Source§impl PartialEq for MissedTick
impl PartialEq for MissedTick
impl StructuralPartialEq for MissedTick
Auto Trait Implementations§
impl Freeze for MissedTick
impl RefUnwindSafe for MissedTick
impl Send for MissedTick
impl Sync for MissedTick
impl Unpin for MissedTick
impl UnsafeUnpin for MissedTick
impl UnwindSafe for MissedTick
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