Struct Midi Decoder
pub struct MidiDecoder { /* private fields */ }Expand description
Incremental MIDI 1.0 byte decoder; no allocation, clock or event scheduling. Channel messages retain running status. System common cancels it; real-time bytes are emitted immediately without disturbing a partial message. A new non-real-time status discards any incomplete message. Undefined real-time statuses reject without changing state; other invalid statuses clear state. SysEx start reports UnsupportedSysEx once, then skips its data until EOX or another non-real-time status. Real-time messages within SysEx still emit.
Implementations§
§impl MidiDecoder
impl MidiDecoder
Trait Implementations§
§impl Clone for MidiDecoder
impl Clone for MidiDecoder
§fn clone(&self) -> MidiDecoder
fn clone(&self) -> MidiDecoder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · §fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for MidiDecoder
impl Debug for MidiDecoder
§impl Default for MidiDecoder
impl Default for MidiDecoder
§fn default() -> MidiDecoder
fn default() -> MidiDecoder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MidiDecoder
impl RefUnwindSafe for MidiDecoder
impl Send for MidiDecoder
impl Sync for MidiDecoder
impl Unpin for MidiDecoder
impl UnsafeUnpin for MidiDecoder
impl UnwindSafe for MidiDecoder
Blanket Implementations§
§impl<T> BorrowMut<T> for T
impl<T> BorrowMut<T> for T
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more