pub enum MIDIFileDivision {
TicksPerQuarterNote {
ticks_per_quarter_note: u16,
},
SMPTE {
format: u8,
ticks_per_frame: u8,
},
}Variants§
TicksPerQuarterNote
The ticks_per_quarter_note field contains how many MIDITrackEvent::delta_time ticks
make up a quarter-note.
Represented by 0b0_000_0000_0000_0000
SMPTE
Indicates MIDITrackEvent::delta_time are time based SMPTE offsets.
Represented by 0b1_000_0000_0000_0000
Trait Implementations§
Source§impl Debug for MIDIFileDivision
impl Debug for MIDIFileDivision
Source§impl PartialEq for MIDIFileDivision
impl PartialEq for MIDIFileDivision
impl Eq for MIDIFileDivision
impl StructuralPartialEq for MIDIFileDivision
Auto Trait Implementations§
impl Freeze for MIDIFileDivision
impl RefUnwindSafe for MIDIFileDivision
impl Send for MIDIFileDivision
impl Sync for MIDIFileDivision
impl Unpin for MIDIFileDivision
impl UnwindSafe for MIDIFileDivision
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