pub enum MidiFormat {
SingleTrack = 0,
MultiTrack = 1,
MultiTrackAsync = 2,
}Expand description
MIDI file format.
Variants§
SingleTrack = 0
Format 0: Single track
MultiTrack = 1
Format 1: Multiple tracks, synchronous
MultiTrackAsync = 2
Format 2: Multiple tracks, asynchronous (rarely used)
Trait Implementations§
Source§impl Clone for MidiFormat
impl Clone for MidiFormat
Source§fn clone(&self) -> MidiFormat
fn clone(&self) -> MidiFormat
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MidiFormat
Source§impl Debug for MidiFormat
impl Debug for MidiFormat
impl Eq for MidiFormat
Source§impl PartialEq for MidiFormat
impl PartialEq for MidiFormat
Source§fn eq(&self, other: &MidiFormat) -> bool
fn eq(&self, other: &MidiFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MidiFormat
Auto Trait Implementations§
impl Freeze for MidiFormat
impl RefUnwindSafe for MidiFormat
impl Send for MidiFormat
impl Sync for MidiFormat
impl Unpin for MidiFormat
impl UnsafeUnpin for MidiFormat
impl UnwindSafe for MidiFormat
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