pub trait MidiMessage: Display + Clone {
    fn from_raw(buf: Vec<u8>) -> Option<Self>
    where
        Self: Sized
; fn get_raw(&self) -> Vec<u8>; fn borrow_raw(&self) -> &Vec<u8>; fn borrow_raw_mut(&mut self) -> &mut Vec<u8>; fn as_raw_message(&self) -> RawMidiMessage { ... } }
Expand description

Basic MIDI Message functionality.

Required Methods

Check if raw message is of Self type.

Copy and return raw Vec

Borrow raw Vec

Borrow raw Vec mutably

Provided Methods

Return raw representation of self.

Implementors