[][src]Struct midistream::SysexMsg

pub struct SysexMsg { /* fields omitted */ }

Sysex messages can be of any length. To ensure no memory allocation, messages longer than SYSEXMSG_LEN will be split up in more than one SysexMsg.

Implementations

impl SysexMsg[src]

pub fn new_short(b: &[U7]) -> SysexMsg[src]

pub fn encode<R, F: FnOnce(&[u8]) -> R>(&self, f: F) -> R[src]

pub fn mmc_command<D: Into<U7>, C: Into<U7>>(device: D, command: C) -> SysexMsg[src]

Trait Implementations

impl Clone for SysexMsg[src]

impl Debug for SysexMsg[src]

impl From<SysexMsg> for Msg[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.