pub enum MidiEffectTarget {
Selected,
Index {
index: u8,
},
}Expand description
The effect of a scene a binding works on: the one selected in the interface, or a fixed position in the scene’s effect stack.
A fixed position is saved as the plain index it always was, so controllers saved before the selected effect existed load unchanged.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for MidiEffectTarget
impl Clone for MidiEffectTarget
impl Copy for MidiEffectTarget
Source§impl Debug for MidiEffectTarget
impl Debug for MidiEffectTarget
Source§impl Default for MidiEffectTarget
impl Default for MidiEffectTarget
Source§impl<'de> Deserialize<'de> for MidiEffectTarget
impl<'de> Deserialize<'de> for MidiEffectTarget
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MidiEffectTarget
Source§impl<'_enum> From<&'_enum MidiEffectTarget> for MidiEffectTargetKind
impl<'_enum> From<&'_enum MidiEffectTarget> for MidiEffectTargetKind
Source§fn from(val: &'_enum MidiEffectTarget) -> MidiEffectTargetKind
fn from(val: &'_enum MidiEffectTarget) -> MidiEffectTargetKind
Converts to this type from the input type.
Source§impl From<MidiEffectTarget> for MidiEffectTargetKind
impl From<MidiEffectTarget> for MidiEffectTargetKind
Source§fn from(val: MidiEffectTarget) -> MidiEffectTargetKind
fn from(val: MidiEffectTarget) -> MidiEffectTargetKind
Converts to this type from the input type.
Source§impl IntoDiscriminant for MidiEffectTarget
impl IntoDiscriminant for MidiEffectTarget
Source§type Discriminant = MidiEffectTargetKind
type Discriminant = MidiEffectTargetKind
Enum listing the same variants as this enum but without any data fields
fn discriminant(&self) -> Self::Discriminant
Source§impl PartialEq for MidiEffectTarget
impl PartialEq for MidiEffectTarget
Source§impl Serialize for MidiEffectTarget
impl Serialize for MidiEffectTarget
impl StructuralPartialEq for MidiEffectTarget
Auto Trait Implementations§
impl Freeze for MidiEffectTarget
impl RefUnwindSafe for MidiEffectTarget
impl Send for MidiEffectTarget
impl Sync for MidiEffectTarget
impl Unpin for MidiEffectTarget
impl UnsafeUnpin for MidiEffectTarget
impl UnwindSafe for MidiEffectTarget
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DebugAny for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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> ⓘ
Converts
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> ⓘ
Converts
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