Struct midi_msg::ChannelBitMap
source · pub struct ChannelBitMap {Show 16 fields
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,
}
Expand description
The set of channels to apply this tuning message to. Used by ScaleTuning1Byte
and ScaleTuning2Byte
.
Fields§
§channel_1: bool
§channel_2: bool
§channel_3: bool
§channel_4: bool
§channel_5: bool
§channel_6: bool
§channel_7: bool
§channel_8: bool
§channel_9: bool
§channel_10: bool
§channel_11: bool
§channel_12: bool
§channel_13: bool
§channel_14: bool
§channel_15: bool
§channel_16: bool
Implementations§
Trait Implementations§
source§impl Clone for ChannelBitMap
impl Clone for ChannelBitMap
source§fn clone(&self) -> ChannelBitMap
fn clone(&self) -> ChannelBitMap
Returns a copy 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 ChannelBitMap
impl Debug for ChannelBitMap
source§impl Default for ChannelBitMap
impl Default for ChannelBitMap
source§fn default() -> ChannelBitMap
fn default() -> ChannelBitMap
Returns the “default value” for a type. Read more
source§impl PartialEq for ChannelBitMap
impl PartialEq for ChannelBitMap
source§fn eq(&self, other: &ChannelBitMap) -> bool
fn eq(&self, other: &ChannelBitMap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChannelBitMap
impl Eq for ChannelBitMap
impl StructuralPartialEq for ChannelBitMap
Auto Trait Implementations§
impl Freeze for ChannelBitMap
impl RefUnwindSafe for ChannelBitMap
impl Send for ChannelBitMap
impl Sync for ChannelBitMap
impl Unpin for ChannelBitMap
impl UnwindSafe for ChannelBitMap
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