pub enum ReplaySpeed {
X0_5,
X1,
X2,
X3,
X5,
X10,
}Expand description
Replay speed presets for playback control
Variants§
X0_5
Play at 0.5 times the original speed.
X1
Play at 1 times the original speed.
X2
Play at 2 times the original speed.
X3
Play at 3 times the original speed.
X5
Play at 5 times the original speed.
X10
Play at 10 times the original speed.
Implementations§
Source§impl ReplaySpeed
impl ReplaySpeed
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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ReplaySpeed
Source§impl Debug for ReplaySpeed
impl Debug for ReplaySpeed
Source§impl PartialEq for ReplaySpeed
impl PartialEq 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more