pub struct SysExDecoder<'a>(/* private fields */);Expand description
Decoder to parse the a SysEx message The decoder is not meant to live longer than the message.
Implementations§
Source§impl SysExDecoder<'_>
impl SysExDecoder<'_>
Sourcepub fn decode(msg: &MidiMessage) -> Option<SysExDecoder<'_>>
pub fn decode(msg: &MidiMessage) -> Option<SysExDecoder<'_>>
Sourcepub fn is_universal_sysex(&self) -> bool
pub fn is_universal_sysex(&self) -> bool
Message is Universal SysEx
Auto Trait Implementations§
impl<'a> Freeze for SysExDecoder<'a>
impl<'a> RefUnwindSafe for SysExDecoder<'a>
impl<'a> Send for SysExDecoder<'a>
impl<'a> Sync for SysExDecoder<'a>
impl<'a> Unpin for SysExDecoder<'a>
impl<'a> UnsafeUnpin for SysExDecoder<'a>
impl<'a> UnwindSafe for SysExDecoder<'a>
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