Enum augmented_midi::MIDITrackInner
source · pub enum MIDITrackInner<Buffer: Borrow<[u8]>> {
Message(MIDIMessage<Buffer>),
Meta(MIDIMetaEvent<Buffer>),
}
Variants§
Message(MIDIMessage<Buffer>)
Meta(MIDIMetaEvent<Buffer>)
Trait Implementations§
source§impl<Buffer: Clone + Borrow<[u8]>> Clone for MIDITrackInner<Buffer>
impl<Buffer: Clone + Borrow<[u8]>> Clone for MIDITrackInner<Buffer>
source§fn clone(&self) -> MIDITrackInner<Buffer>
fn clone(&self) -> MIDITrackInner<Buffer>
Returns a copy 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 MIDITrackInner<Buffer>
impl<Buffer: Ord + Borrow<[u8]>> Ord for MIDITrackInner<Buffer>
source§fn cmp(&self, other: &MIDITrackInner<Buffer>) -> Ordering
fn cmp(&self, other: &MIDITrackInner<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: PartialEq + Borrow<[u8]>> PartialEq for MIDITrackInner<Buffer>
impl<Buffer: PartialEq + Borrow<[u8]>> PartialEq for MIDITrackInner<Buffer>
source§fn eq(&self, other: &MIDITrackInner<Buffer>) -> bool
fn eq(&self, other: &MIDITrackInner<Buffer>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<Buffer: PartialOrd + Borrow<[u8]>> PartialOrd for MIDITrackInner<Buffer>
impl<Buffer: PartialOrd + Borrow<[u8]>> PartialOrd for MIDITrackInner<Buffer>
source§fn partial_cmp(&self, other: &MIDITrackInner<Buffer>) -> Option<Ordering>
fn partial_cmp(&self, other: &MIDITrackInner<Buffer>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<Buffer: Eq + Borrow<[u8]>> Eq for MIDITrackInner<Buffer>
impl<Buffer: Borrow<[u8]>> StructuralEq for MIDITrackInner<Buffer>
impl<Buffer: Borrow<[u8]>> StructuralPartialEq for MIDITrackInner<Buffer>
Auto Trait Implementations§
impl<Buffer> RefUnwindSafe for MIDITrackInner<Buffer>where
Buffer: RefUnwindSafe,
impl<Buffer> Send for MIDITrackInner<Buffer>where
Buffer: Send,
impl<Buffer> Sync for MIDITrackInner<Buffer>where
Buffer: Sync,
impl<Buffer> Unpin for MIDITrackInner<Buffer>where
Buffer: Unpin,
impl<Buffer> UnwindSafe for MIDITrackInner<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