#[repr(i8)]pub enum ProgChMidiChannel {
Show 17 variants
Auto = -1,
One = 0,
Two = 1,
Three = 2,
Four = 3,
Five = 4,
Six = 5,
Seven = 6,
Eight = 7,
Nine = 8,
Ten = 9,
Eleven = 10,
Twelve = 11,
Thirteen = 12,
Fourteen = 13,
Fifteen = 14,
Sixteen = 15,
}Expand description
MIDI Channel for Program Change settings in Project Settings Menu.
Used where both Auto and channel 1-16 options are available
(Project Menu -> Control -> Midi -> Sync).
See manual section 8.7.2 SYNC.
Values in project.work: -1 = Auto, 0-15 = Channel 1-16.
Variants§
Auto = -1
Auto MIDI Channel
One = 0
MIDI CH 1
Two = 1
MIDI CH 2
Three = 2
MIDI CH 3
Four = 3
MIDI CH 4
Five = 4
MIDI CH 5
Six = 5
MIDI CH 6
Seven = 6
MIDI CH 7
Eight = 7
MIDI CH 8
Nine = 8
MIDI CH 9
Ten = 9
MIDI CH 10
Eleven = 10
MIDI CH 11
Twelve = 11
MIDI CH 12
Thirteen = 12
MIDI CH 13
Fourteen = 13
MIDI CH 14
Fifteen = 14
MIDI CH 15
Sixteen = 15
MIDI CH 16
Trait Implementations§
Source§impl AsMut<ProgChMidiChannel> for ProgChMidiChannel
impl AsMut<ProgChMidiChannel> for ProgChMidiChannel
Source§fn as_mut(&mut self) -> &mut ProgChMidiChannel
fn as_mut(&mut self) -> &mut ProgChMidiChannel
Converts this type into a mutable reference of the (usually inferred) input type.
Source§impl AsRef<ProgChMidiChannel> for ProgChMidiChannel
impl AsRef<ProgChMidiChannel> for ProgChMidiChannel
Source§fn as_ref(&self) -> &ProgChMidiChannel
fn as_ref(&self) -> &ProgChMidiChannel
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ProgChMidiChannel
impl Clone for ProgChMidiChannel
Source§fn clone(&self) -> ProgChMidiChannel
fn clone(&self) -> ProgChMidiChannel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProgChMidiChannel
Source§impl Debug for ProgChMidiChannel
impl Debug for ProgChMidiChannel
Source§impl Default for ProgChMidiChannel
impl Default for ProgChMidiChannel
Source§fn default() -> ProgChMidiChannel
fn default() -> ProgChMidiChannel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProgChMidiChannel
impl<'de> Deserialize<'de> for ProgChMidiChannel
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 ProgChMidiChannel
Source§impl Hash for ProgChMidiChannel
impl Hash for ProgChMidiChannel
Source§impl Into<i8> for ProgChMidiChannel
impl Into<i8> for ProgChMidiChannel
Source§impl Into<i16> for ProgChMidiChannel
impl Into<i16> for ProgChMidiChannel
Source§impl Into<i32> for ProgChMidiChannel
impl Into<i32> for ProgChMidiChannel
Source§impl Ord for ProgChMidiChannel
impl Ord for ProgChMidiChannel
Source§fn cmp(&self, other: &ProgChMidiChannel) -> Ordering
fn cmp(&self, other: &ProgChMidiChannel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ProgChMidiChannel
impl PartialEq for ProgChMidiChannel
Source§impl PartialOrd for ProgChMidiChannel
impl PartialOrd for ProgChMidiChannel
Source§impl Serialize for ProgChMidiChannel
impl Serialize for ProgChMidiChannel
impl StructuralPartialEq for ProgChMidiChannel
Source§impl TryFrom<&i8> for ProgChMidiChannel
impl TryFrom<&i8> for ProgChMidiChannel
Source§impl TryFrom<&i16> for ProgChMidiChannel
impl TryFrom<&i16> for ProgChMidiChannel
Source§impl TryFrom<&i32> for ProgChMidiChannel
impl TryFrom<&i32> for ProgChMidiChannel
Source§impl TryFrom<i8> for ProgChMidiChannel
impl TryFrom<i8> for ProgChMidiChannel
Source§impl TryFrom<i16> for ProgChMidiChannel
impl TryFrom<i16> for ProgChMidiChannel
Auto Trait Implementations§
impl Freeze for ProgChMidiChannel
impl RefUnwindSafe for ProgChMidiChannel
impl Send for ProgChMidiChannel
impl Sync for ProgChMidiChannel
impl Unpin for ProgChMidiChannel
impl UnsafeUnpin for ProgChMidiChannel
impl UnwindSafe for ProgChMidiChannel
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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