Struct midi_msg::ChannelBitMap[][src]

pub struct ChannelBitMap {
    pub channel_1: bool,
    pub channel_2: bool,
    pub channel_3: bool,
    pub channel_4: bool,
    pub channel_5: bool,
    pub channel_6: bool,
    pub channel_7: bool,
    pub channel_8: bool,
    pub channel_9: bool,
    pub channel_10: bool,
    pub channel_11: bool,
    pub channel_12: bool,
    pub channel_13: bool,
    pub channel_14: bool,
    pub channel_15: bool,
    pub channel_16: bool,
}

The set of channels to apply this tuning message to. Used by ScaleTuning1Byte and ScaleTuning2Byte.

Fields

channel_1: boolchannel_2: boolchannel_3: boolchannel_4: boolchannel_5: boolchannel_6: boolchannel_7: boolchannel_8: boolchannel_9: boolchannel_10: boolchannel_11: boolchannel_12: boolchannel_13: boolchannel_14: boolchannel_15: boolchannel_16: bool

Implementations

impl ChannelBitMap[src]

pub fn all() -> Self[src]

All channels set

pub fn none() -> Self[src]

No channels set

Trait Implementations

impl Clone for ChannelBitMap[src]

impl Copy for ChannelBitMap[src]

impl Debug for ChannelBitMap[src]

impl Default for ChannelBitMap[src]

impl PartialEq<ChannelBitMap> for ChannelBitMap[src]

impl StructuralPartialEq for ChannelBitMap[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.