pub struct Raw {
pub status: u8,
pub payload: Payload,
}Expand description
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: u8Status byte.
payload: PayloadPayload of maximum 2 bytes.
Trait Implementations§
impl Eq for Raw
impl StructuralPartialEq for Raw
Auto Trait Implementations§
impl Freeze for Raw
impl RefUnwindSafe for Raw
impl Send for Raw
impl Sync for Raw
impl Unpin for Raw
impl UnwindSafe for Raw
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