pub enum ChannelModeMessage {
AllSoundOff,
ResetAllControllers,
LocalControl(bool),
AllNotesOff,
OmniModeOff,
OmniModeOn,
MonoModeOn(u8),
PolyModeOn,
}Expand description
The specific channel-mode operation.
Variants§
AllSoundOff
All Sound Off (immediately mute all voices).
ResetAllControllers
Reset All Controllers.
LocalControl(bool)
Local Control on (true) or off (false).
AllNotesOff
All Notes Off.
OmniModeOff
Omni Mode Off.
OmniModeOn
Omni Mode On.
MonoModeOn(u8)
Mono Mode On; payload is the channel count (0 = “all voices on 1 ch”).
PolyModeOn
Poly Mode On.
Trait Implementations§
Source§impl Clone for ChannelModeMessage
impl Clone for ChannelModeMessage
impl Copy for ChannelModeMessage
Source§impl Debug for ChannelModeMessage
impl Debug for ChannelModeMessage
impl Eq for ChannelModeMessage
Source§impl PartialEq for ChannelModeMessage
impl PartialEq for ChannelModeMessage
impl StructuralPartialEq for ChannelModeMessage
Auto Trait Implementations§
impl Freeze for ChannelModeMessage
impl RefUnwindSafe for ChannelModeMessage
impl Send for ChannelModeMessage
impl Sync for ChannelModeMessage
impl Unpin for ChannelModeMessage
impl UnsafeUnpin for ChannelModeMessage
impl UnwindSafe for ChannelModeMessage
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