[−][src]Struct reaper_medium::PlaybackSpeedFactor
This represents a play rate measured as factor of the normal play speed.
Implementations
impl PlaybackSpeedFactor
[src]
pub const MIN: PlaybackSpeedFactor
[src]
The minimum possible value (a quarter of the normal play speed).
pub const MAX: PlaybackSpeedFactor
[src]
The maximum possible value (four times the normal play speed).
pub fn new(value: f64) -> PlaybackSpeedFactor
[src]
Creates a playback speed value.
Panics
This function panics if the given value is not within the playback speed range supported by
REAPER (0.25..=4.00)
.
pub const fn get(&self) -> f64
[src]
Returns the wrapped value.
Trait Implementations
impl Clone for PlaybackSpeedFactor
[src]
fn clone(&self) -> PlaybackSpeedFactor
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for PlaybackSpeedFactor
[src]
impl Debug for PlaybackSpeedFactor
[src]
impl Default for PlaybackSpeedFactor
[src]
fn default() -> PlaybackSpeedFactor
[src]
impl Display for PlaybackSpeedFactor
[src]
impl PartialEq<PlaybackSpeedFactor> for PlaybackSpeedFactor
[src]
fn eq(&self, other: &PlaybackSpeedFactor) -> bool
[src]
fn ne(&self, other: &PlaybackSpeedFactor) -> bool
[src]
impl PartialOrd<PlaybackSpeedFactor> for PlaybackSpeedFactor
[src]
fn partial_cmp(&self, other: &PlaybackSpeedFactor) -> Option<Ordering>
[src]
fn lt(&self, other: &PlaybackSpeedFactor) -> bool
[src]
fn le(&self, other: &PlaybackSpeedFactor) -> bool
[src]
fn gt(&self, other: &PlaybackSpeedFactor) -> bool
[src]
fn ge(&self, other: &PlaybackSpeedFactor) -> bool
[src]
impl StructuralPartialEq for PlaybackSpeedFactor
[src]
Auto Trait Implementations
impl RefUnwindSafe for PlaybackSpeedFactor
impl Send for PlaybackSpeedFactor
impl Sync for PlaybackSpeedFactor
impl Unpin for PlaybackSpeedFactor
impl UnwindSafe for PlaybackSpeedFactor
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,