pub enum ActionValueChange {
AbsoluteLowRes(U7),
AbsoluteHighRes(U14),
Relative1(U7),
Relative2(U7),
Relative3(U7),
}Expand description
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§
Source§impl Clone for ActionValueChange
impl Clone for ActionValueChange
Source§fn clone(&self) -> ActionValueChange
fn clone(&self) -> ActionValueChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ActionValueChange
impl Debug for ActionValueChange
Source§impl Hash for ActionValueChange
impl Hash for ActionValueChange
Source§impl PartialEq for ActionValueChange
impl PartialEq for ActionValueChange
impl Copy for ActionValueChange
impl Eq for ActionValueChange
impl StructuralPartialEq for ActionValueChange
Auto Trait Implementations§
impl Freeze for ActionValueChange
impl RefUnwindSafe for ActionValueChange
impl Send for ActionValueChange
impl Sync for ActionValueChange
impl Unpin for ActionValueChange
impl UnwindSafe for ActionValueChange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more