pub struct RawMidi<'a> {
pub time: Frames,
pub bytes: &'a [u8],
}Expand description
Contains 8bit raw midi information along with a timestamp relative to the process cycle.
Fields§
§time: FramesThe amount of time passed, in frames, relative to the start of the process cycle
bytes: &'a [u8]Midi data
Trait Implementations§
impl<'a> Copy for RawMidi<'a>
impl<'a> Eq for RawMidi<'a>
impl<'a> StructuralPartialEq for RawMidi<'a>
Auto Trait Implementations§
impl<'a> Freeze for RawMidi<'a>
impl<'a> RefUnwindSafe for RawMidi<'a>
impl<'a> Send for RawMidi<'a>
impl<'a> Sync for RawMidi<'a>
impl<'a> Unpin for RawMidi<'a>
impl<'a> UnwindSafe for RawMidi<'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