Enum midi_msg::ChannelModeMsg [−][src]
Channel-level messages that should alter the mode of the receiver. Used in MidiMsg.
Variants
Sound playing on the channel should be stopped as soon as possible, per GM2.
Stop sounding all notes on the channel.
All controllers should be reset to their default values. GM specifies some of these defaults.
OmniMode(bool)An instrument set to OmniMode(true) should respond to MIDI messages sent over all channels.
PolyMode(PolyMode)Request that the receiver set itself to be monophonic/polyphonic.
LocalControl(bool)Used to turn on or off “local control” of a MIDI synthesizer instrument. When the instrument does not have local control, its controller should only send out MIDI signals while the synthesizer should only respond to remote MIDI messages.
Trait Implementations
impl Clone for ChannelModeMsg[src]
fn clone(&self) -> ChannelModeMsg[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for ChannelModeMsg[src]
impl Debug for ChannelModeMsg[src]
impl PartialEq<ChannelModeMsg> for ChannelModeMsg[src]
fn eq(&self, other: &ChannelModeMsg) -> bool[src]
fn ne(&self, other: &ChannelModeMsg) -> bool[src]
impl StructuralPartialEq for ChannelModeMsg[src]
Auto Trait Implementations
impl RefUnwindSafe for ChannelModeMsg
impl Send for ChannelModeMsg
impl Sync for ChannelModeMsg
impl Unpin for ChannelModeMsg
impl UnwindSafe for ChannelModeMsg
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,