pub enum ReplaySpeed {
Instant,
RealTime(Duration),
StepByStep,
FastForward(u32),
}Expand description
Replay speed control.
Variants§
Instant
Instant replay (no delays)
RealTime(Duration)
Real-time replay with specified delay per step
StepByStep
Step-by-step (wait for external trigger)
FastForward(u32)
Fast forward (N times real speed)
Trait Implementations§
Source§impl Clone for ReplaySpeed
impl Clone for ReplaySpeed
Source§fn clone(&self) -> ReplaySpeed
fn clone(&self) -> ReplaySpeed
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 ReplaySpeed
impl Debug for ReplaySpeed
Source§impl Default for ReplaySpeed
impl Default for ReplaySpeed
Source§fn default() -> ReplaySpeed
fn default() -> ReplaySpeed
Returns the “default value” for a type. Read more
Source§impl PartialEq for ReplaySpeed
impl PartialEq for ReplaySpeed
impl Copy for ReplaySpeed
impl Eq for ReplaySpeed
impl StructuralPartialEq for ReplaySpeed
Auto Trait Implementations§
impl Freeze for ReplaySpeed
impl RefUnwindSafe for ReplaySpeed
impl Send for ReplaySpeed
impl Sync for ReplaySpeed
impl Unpin for ReplaySpeed
impl UnsafeUnpin for ReplaySpeed
impl UnwindSafe for ReplaySpeed
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.