[][src]Enum reaper_medium::ValueChange

pub enum ValueChange<T: Copy + Into<f64>> {
    Absolute(T),
    Relative(f64),
}

Represents a change of a value (e.g. of a parameter).

Variants

Absolute(T)

Sets the given value absolutely.

Relative(f64)

Increments or decrements the current value by the given amount.

Trait Implementations

impl<T: Clone + Copy + Into<f64>> Clone for ValueChange<T>[src]

impl<T: Debug + Copy + Into<f64>> Debug for ValueChange<T>[src]

impl<T: PartialEq + Copy + Into<f64>> PartialEq<ValueChange<T>> for ValueChange<T>[src]

impl<T: Copy + Into<f64>> StructuralPartialEq for ValueChange<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for ValueChange<T> where
    T: RefUnwindSafe

impl<T> Send for ValueChange<T> where
    T: Send

impl<T> Sync for ValueChange<T> where
    T: Sync

impl<T> Unpin for ValueChange<T> where
    T: Unpin

impl<T> UnwindSafe for ValueChange<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.