[−][src]Struct reaper_medium::ReaperNormalizedFxParamValue
This represents a particular value of an FX parameter in "REAPER-normalized" form.
Please note that this value is not normalized in the classical sense of being in the unit interval 0.0..=1.0! It can be very well > 1.0 (e.g. the Wet param of ReaPitch). All this type guarantees is that the value is > 0.0.
Implementations
impl ReaperNormalizedFxParamValue
[src]
pub const MIN: ReaperNormalizedFxParamValue
[src]
The minimum possible value (0.0).
pub fn new(value: f64) -> ReaperNormalizedFxParamValue
[src]
Creates a REAPER-normalized FX parameter value.
Panics
This function panics if the given value is negative.
pub const fn get(&self) -> f64
[src]
Returns the wrapped value.
Trait Implementations
impl Clone for ReaperNormalizedFxParamValue
[src]
fn clone(&self) -> ReaperNormalizedFxParamValue
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ReaperNormalizedFxParamValue
[src]
impl Debug for ReaperNormalizedFxParamValue
[src]
impl Default for ReaperNormalizedFxParamValue
[src]
impl Display for ReaperNormalizedFxParamValue
[src]
impl PartialEq<ReaperNormalizedFxParamValue> for ReaperNormalizedFxParamValue
[src]
fn eq(&self, other: &ReaperNormalizedFxParamValue) -> bool
[src]
fn ne(&self, other: &ReaperNormalizedFxParamValue) -> bool
[src]
impl PartialOrd<ReaperNormalizedFxParamValue> for ReaperNormalizedFxParamValue
[src]
fn partial_cmp(&self, other: &ReaperNormalizedFxParamValue) -> Option<Ordering>
[src]
fn lt(&self, other: &ReaperNormalizedFxParamValue) -> bool
[src]
fn le(&self, other: &ReaperNormalizedFxParamValue) -> bool
[src]
fn gt(&self, other: &ReaperNormalizedFxParamValue) -> bool
[src]
fn ge(&self, other: &ReaperNormalizedFxParamValue) -> bool
[src]
impl StructuralPartialEq for ReaperNormalizedFxParamValue
[src]
Auto Trait Implementations
impl RefUnwindSafe for ReaperNormalizedFxParamValue
impl Send for ReaperNormalizedFxParamValue
impl Sync for ReaperNormalizedFxParamValue
impl Unpin for ReaperNormalizedFxParamValue
impl UnwindSafe for ReaperNormalizedFxParamValue
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>,