Enum kira::Value[][src]

pub enum Value<T: From<f64> + Into<f64> + Copy> {
    Fixed(T),
    Parameter(ParameterIdMapping),
    Random(T, T),
}

A value that something can be set to.

Variants

Fixed(T)

A fixed value.

Parameter(ParameterIdMapping)

The current value of a parameter.

Random(T, T)

A random value within a range.

Trait Implementations

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

impl<T: Copy + From<f64> + Into<f64>> Copy for Value<T>[src]

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

impl<T: From<f64> + Into<f64> + Copy> From<&'_ ParameterHandle> for Value<T>[src]

impl<T: From<f64> + Into<f64> + Copy> From<ParameterId> for Value<T>[src]

impl<T: From<f64> + Into<f64> + Copy> From<Range<T>> for Value<T>[src]

impl<T: From<f64> + Into<f64> + Copy> From<T> for Value<T>[src]

Auto Trait Implementations

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

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

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

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

impl<T> UnwindSafe for Value<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<!> for T[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,