[−][src]Struct usbd_midi::data::usb_midi::code_index_number::CodeIndexNumber
The Code Index Number(CIN) indicates the classification of the bytes in the MIDI_x fields
Methods
impl CodeIndexNumber
[src]
pub const MISC_FUNCTION: CodeIndexNumber
[src]
Miscellaneous function codes. Reserved for future extensions
pub const CABLE_EVENTS: CodeIndexNumber
[src]
Cable events. Reserved for future expansion.
pub const SYSTEM_COMMON_LEN2: CodeIndexNumber
[src]
Two-byte System Common messages like MTC, SongSelect, etc.
pub const SYSTEM_COMMON_LEN3: CodeIndexNumber
[src]
Three-byte System Common messages like SPP, etc.
pub const SYSEX_STARTS: CodeIndexNumber
[src]
SysEx starts or continues
pub const SYSEX_CONTINUES: CodeIndexNumber
[src]
pub const SYSTEM_COMMON_LEN1: CodeIndexNumber
[src]
Single-byte System Common Message or SysEx ends with following single byte.
pub const SYSEX_ENDS_NEXT1: CodeIndexNumber
[src]
SysEx ends with the following byte
pub const SYSEX_ENDS_NEXT2: CodeIndexNumber
[src]
SysEx ends with following two bytes
pub const SYSEX_ENDS_NEXT3: CodeIndexNumber
[src]
SysEx ends with following three bytes
pub const NOTE_OFF: CodeIndexNumber
[src]
Note - Off
pub const NOTE_ON: CodeIndexNumber
[src]
Note - On
pub const POLY_KEYPRESS: CodeIndexNumber
[src]
Poly-KeyPress
pub const CONTROL_CHANGE: CodeIndexNumber
[src]
Control Change
pub const PROGRAM_CHANGE: CodeIndexNumber
[src]
Program Change
pub const CHANNEL_PRESSURE: CodeIndexNumber
[src]
Channel Pressure
pub const PITCHBEND_CHANGE: CodeIndexNumber
[src]
Pitch Bend Change
pub const SINGLE_BYTE: CodeIndexNumber
[src]
Single Byte
pub fn find_from_message(value: &Message) -> CodeIndexNumber
[src]
Trait Implementations
impl From<CodeIndexNumber> for U4
[src]
fn from(value: CodeIndexNumber) -> U4
[src]
impl TryFrom<u8> for CodeIndexNumber
[src]
Auto Trait Implementations
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,
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, 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.
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>,