[][src]Struct usbd_midi::data::midi::message::raw::Raw

pub struct Raw {
    pub status: u8,
    pub payload: Payload,
}

A struct that captures the valid states a midi message may be in, but without domain logic mainly useful for serializing. This represents the possible 'shapes', doesn't verify if the data makes sense though!

Fields

status: u8payload: Payload

Trait Implementations

impl From<Message> for Raw[src]

Auto Trait Implementations

impl Send for Raw

impl Sync for Raw

impl Unpin for Raw

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, 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.