Enum augmented_midi::MIDIFileFormat
source · pub enum MIDIFileFormat {
Single,
Simultaneous,
Sequential,
Unknown,
}
Expand description
Describes how the file is organized
Variants§
Single
The file contains a single multi-channel track
Represented by 0b0_000_0000_0000_0000
Simultaneous
The file contains one or more simultaneous tracks (or MIDI outputs) of a sequence
Represented by 0b1_000_0000_0000_0000
Sequential
The file contains one or more sequentially independent single-track patterns
Represented by 0b2_000_0000_0000_0000
Unknown
An unknown file format was found. Parse will continue if this is found in the header chunk, it will possibly fail on other sections of the file.
Trait Implementations§
source§impl Debug for MIDIFileFormat
impl Debug for MIDIFileFormat
source§impl PartialEq for MIDIFileFormat
impl PartialEq for MIDIFileFormat
source§fn eq(&self, other: &MIDIFileFormat) -> bool
fn eq(&self, other: &MIDIFileFormat) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MIDIFileFormat
impl StructuralEq for MIDIFileFormat
impl StructuralPartialEq for MIDIFileFormat
Auto Trait Implementations§
impl RefUnwindSafe for MIDIFileFormat
impl Send for MIDIFileFormat
impl Sync for MIDIFileFormat
impl Unpin for MIDIFileFormat
impl UnwindSafe for MIDIFileFormat
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