Struct embedded_midi::MidiParser [−][src]
pub struct MidiParser { /* fields omitted */ }
Expand description
Keeps state for parsing Midi messages
Implementations
State machine for parsing Midi data, can be fed bytes one-by-one, and returns parsed Midi messages whenever one is completed.
Parse midi event byte by byte. Call this whenever a byte is received. When a midi-event is completed it is returned, otherwise this method updates the internal midiparser state and and returns none.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.