pub struct MIDIMetaEvent<Buffer: Borrow<[u8]>> {
pub meta_type: u8,
pub length: u32,
pub bytes: Buffer,
}Fields§
§meta_type: u8§length: u32§bytes: BufferImplementations§
Trait Implementations§
Source§impl<Buffer: Clone + Borrow<[u8]>> Clone for MIDIMetaEvent<Buffer>
impl<Buffer: Clone + Borrow<[u8]>> Clone for MIDIMetaEvent<Buffer>
Source§fn clone(&self) -> MIDIMetaEvent<Buffer>
fn clone(&self) -> MIDIMetaEvent<Buffer>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<Buffer: Ord + Borrow<[u8]>> Ord for MIDIMetaEvent<Buffer>
impl<Buffer: Ord + Borrow<[u8]>> Ord for MIDIMetaEvent<Buffer>
Source§fn cmp(&self, other: &MIDIMetaEvent<Buffer>) -> Ordering
fn cmp(&self, other: &MIDIMetaEvent<Buffer>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<Buffer: PartialOrd + Borrow<[u8]>> PartialOrd for MIDIMetaEvent<Buffer>
impl<Buffer: PartialOrd + Borrow<[u8]>> PartialOrd for MIDIMetaEvent<Buffer>
impl<Buffer: Eq + Borrow<[u8]>> Eq for MIDIMetaEvent<Buffer>
impl<Buffer: Borrow<[u8]>> StructuralPartialEq for MIDIMetaEvent<Buffer>
Auto Trait Implementations§
impl<Buffer> Freeze for MIDIMetaEvent<Buffer>where
Buffer: Freeze,
impl<Buffer> RefUnwindSafe for MIDIMetaEvent<Buffer>where
Buffer: RefUnwindSafe,
impl<Buffer> Send for MIDIMetaEvent<Buffer>where
Buffer: Send,
impl<Buffer> Sync for MIDIMetaEvent<Buffer>where
Buffer: Sync,
impl<Buffer> Unpin for MIDIMetaEvent<Buffer>where
Buffer: Unpin,
impl<Buffer> UnwindSafe for MIDIMetaEvent<Buffer>where
Buffer: UnwindSafe,
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