pub enum PlaybackSpeed {
Realtime,
Speed(f64),
Instant,
}Expand description
Playback speed.
Variants§
Trait Implementations§
Source§impl Clone for PlaybackSpeed
impl Clone for PlaybackSpeed
Source§fn clone(&self) -> PlaybackSpeed
fn clone(&self) -> PlaybackSpeed
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 PlaybackSpeed
impl Debug for PlaybackSpeed
Source§impl Default for PlaybackSpeed
impl Default for PlaybackSpeed
Source§fn default() -> PlaybackSpeed
fn default() -> PlaybackSpeed
Returns the “default value” for a type. Read more
Source§impl PartialEq for PlaybackSpeed
impl PartialEq for PlaybackSpeed
impl Copy for PlaybackSpeed
impl StructuralPartialEq for PlaybackSpeed
Auto Trait Implementations§
impl Freeze for PlaybackSpeed
impl RefUnwindSafe for PlaybackSpeed
impl Send for PlaybackSpeed
impl Sync for PlaybackSpeed
impl Unpin for PlaybackSpeed
impl UnwindSafe for PlaybackSpeed
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