pub enum MidiInputActionKind {
Show 32 variants
Tap,
SetMainDimmer,
SetMainDimmerRelative,
SetBlackout,
ToggleBlackout,
SetSpeedAdd,
SetSpeedMultiply,
SetSpeedRelative,
SelectSceneDistributed,
SelectSceneRelative,
SelectSceneRow,
SelectSceneColumn,
SelectScene,
SelectMode,
SelectSceneEffect,
SelectSceneEffectRelative,
SelectSceneEffectDistributed,
ToggleSceneActive,
SetSceneActive,
FlashScene,
SetSceneOpacity,
SetSceneInputDimmer,
SetSceneBeatOffset,
SetSceneIgnoreMainDimmer,
SetSceneSetOffsetOnFlash,
SetSceneEffectSettingF32,
SetSceneEffectOpacity,
SetSceneEffectColorShift,
SetSceneEffectBeatProgression,
SetSceneEffectBeatOffset,
SetSceneEffectSpeedExponent,
SetSceneEffectLayout,
}Expand description
Auto-generated discriminant enum variants
Variants§
Tap
SetMainDimmer
SetMainDimmerRelative
Moves the main dimmer by an encoder’s units, 1/127 each.
SetBlackout
ToggleBlackout
Flips the blackout on a press (any value above 0).
SetSpeedAdd
Adds the value as two’s complement steps to the tempo, one BPM each.
SetSpeedMultiply
SetSpeedRelative
Moves the tempo by an encoder’s units, one BPM each.
SelectSceneDistributed
SelectSceneRelative
Selects the scene an encoder’s units away, in row-major order.
SelectSceneRow
Moves the selection an encoder’s units of rows up or down in the same column, stopping at the first and last row. Row scene targets then work on the new row.
SelectSceneColumn
Moves the selection an encoder’s units of columns left or right in the same row, stopping at the first and last column. Column scene targets then work on the new column.
SelectScene
SelectMode
Switches the controller to one of its mapping’s modes on a press.
SelectSceneEffect
Selects an effect of the selected scene on a press.
SelectSceneEffectRelative
Selects the effect an encoder’s units away in the selected scene.
SelectSceneEffectDistributed
Spreads the value over the selected scene’s effects.
ToggleSceneActive
SetSceneActive
FlashScene
SetSceneOpacity
SetSceneInputDimmer
SetSceneBeatOffset
SetSceneIgnoreMainDimmer
SetSceneSetOffsetOnFlash
SetSceneEffectSettingF32
SetSceneEffectOpacity
SetSceneEffectColorShift
SetSceneEffectBeatProgression
SetSceneEffectBeatOffset
SetSceneEffectSpeedExponent
SetSceneEffectLayout
Picks the effect’s layout: 0 inherits the tile’s layout, 1 is the
topology, 2… the layouts in stack order (Patch::layout_refs). Was the
effect’s group index before the patch.
Trait Implementations§
Source§impl Clone for MidiInputActionKind
impl Clone for MidiInputActionKind
impl Copy for MidiInputActionKind
Source§impl Debug for MidiInputActionKind
impl Debug for MidiInputActionKind
Source§impl Display for MidiInputActionKind
impl Display for MidiInputActionKind
impl Eq for MidiInputActionKind
Source§impl<'_enum> From<&'_enum MidiInputAction> for MidiInputActionKind
impl<'_enum> From<&'_enum MidiInputAction> for MidiInputActionKind
Source§fn from(val: &'_enum MidiInputAction) -> MidiInputActionKind
fn from(val: &'_enum MidiInputAction) -> MidiInputActionKind
Source§impl From<MidiInputAction> for MidiInputActionKind
impl From<MidiInputAction> for MidiInputActionKind
Source§fn from(val: MidiInputAction) -> MidiInputActionKind
fn from(val: MidiInputAction) -> MidiInputActionKind
Source§impl PartialEq for MidiInputActionKind
impl PartialEq for MidiInputActionKind
impl StructuralPartialEq for MidiInputActionKind
Auto Trait Implementations§
impl Freeze for MidiInputActionKind
impl RefUnwindSafe for MidiInputActionKind
impl Send for MidiInputActionKind
impl Sync for MidiInputActionKind
impl Unpin for MidiInputActionKind
impl UnsafeUnpin for MidiInputActionKind
impl UnwindSafe for MidiInputActionKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DebugAny for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more