Enum augmented_midi::MIDIFileChunk
source · pub enum MIDIFileChunk<StringRepr: Borrow<str>, Buffer: Borrow<[u8]>> {
Header(MIDIFileHeader),
Track {
events: Vec<MIDITrackEvent<Buffer>>,
},
Unknown {
name: StringRepr,
body: Buffer,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<StringRepr, Buffer> RefUnwindSafe for MIDIFileChunk<StringRepr, Buffer>where
Buffer: RefUnwindSafe,
StringRepr: RefUnwindSafe,
impl<StringRepr, Buffer> Send for MIDIFileChunk<StringRepr, Buffer>
impl<StringRepr, Buffer> Sync for MIDIFileChunk<StringRepr, Buffer>
impl<StringRepr, Buffer> Unpin for MIDIFileChunk<StringRepr, Buffer>
impl<StringRepr, Buffer> UnwindSafe for MIDIFileChunk<StringRepr, Buffer>where
Buffer: UnwindSafe,
StringRepr: 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