pub enum MessageSuperType {
ChannelVoice,
ChannelMode,
SystemCommon,
SystemRealTime,
SystemExclusive,
}
Expand description
A more coarse-grained classification of MIDI messages than ShortMessageType
.
Variants§
ChannelVoice
Channel Voice messages are used to send musical performance information.
ChannelMode
Channel Mode messages affect the way a synthesizer responds to MIDI data.
SystemCommon
System Common messages are intended for all receivers in the system.
SystemRealTime
System Real Time messages are used for synchronization between clock-based MIDI components.
SystemExclusive
System Exclusive messages are used to transfer any number of data bytes in a format specified by the referenced manufacturer.
Implementations§
Source§impl MessageSuperType
impl MessageSuperType
Sourcepub fn main_category(&self) -> MessageMainCategory
pub fn main_category(&self) -> MessageMainCategory
Returns the corresponding main category.
Trait Implementations§
Source§impl Clone for MessageSuperType
impl Clone for MessageSuperType
Source§fn clone(&self) -> MessageSuperType
fn clone(&self) -> MessageSuperType
Returns a duplicate 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 MessageSuperType
impl Debug for MessageSuperType
Source§impl Hash for MessageSuperType
impl Hash for MessageSuperType
Source§impl PartialEq for MessageSuperType
impl PartialEq for MessageSuperType
impl Copy for MessageSuperType
impl Eq for MessageSuperType
impl StructuralPartialEq for MessageSuperType
Auto Trait Implementations§
impl Freeze for MessageSuperType
impl RefUnwindSafe for MessageSuperType
impl Send for MessageSuperType
impl Sync for MessageSuperType
impl Unpin for MessageSuperType
impl UnwindSafe for MessageSuperType
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