[][src]Enum reaper_medium::ActionValueChange

pub enum ActionValueChange {
    AbsoluteLowRes(U7),
    AbsoluteHighRes(U14),
    Relative1(U7),
    Relative2(U7),
    Relative3(U7),
}

Represents a value change targeted to a REAPER action.

This uses typical MIDI types (7-bit and 14-bit values) because this is supposed to be used for actions which are controllable via MIDI.

Variants

AbsoluteLowRes(U7)

Sets the given value absolutely using a low resolution (128 possible values).

AbsoluteHighRes(U14)

Sets the given value absolutely using a high resolution (16384 different values).

Relative1(U7)

Increments or decrements the current value using REAPER's CC mode "Relative 1".

  • 127 → -1
  • 1 → +1
Relative2(U7)

Increments or decrements the current value using REAPER's CC mode "Relative 2".

  • 63 → -1
  • 65 → +1
Relative3(U7)

Increments or decrements the current value using REAPER's CC mode "Relative 3".

  • 65 → -1
  • 1 → +1

Trait Implementations

impl Clone for ActionValueChange[src]

impl Copy for ActionValueChange[src]

impl Debug for ActionValueChange[src]

impl Eq for ActionValueChange[src]

impl Hash for ActionValueChange[src]

impl PartialEq<ActionValueChange> for ActionValueChange[src]

impl StructuralEq for ActionValueChange[src]

impl StructuralPartialEq for ActionValueChange[src]

Auto Trait Implementations

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.