pub enum Division {
QuarterNote(QuarterNoteDivision),
Smpte(SmpteRate),
}
Expand description
Specifies the meaning of the delta-times. It has two formats, one for metrical time, and one for time-code-based time:
Variants§
QuarterNote(QuarterNoteDivision)
If bit 15 of
Smpte(SmpteRate)
Frame rate and resolution within the frame. Caution, this may not be implemented correctly. https://github.com/webern/midi_file/issues/11
Trait Implementations§
source§impl Ord for Division
impl Ord for Division
source§impl PartialOrd for Division
impl PartialOrd for Division
impl Copy for Division
impl Eq for Division
impl StructuralPartialEq for Division
Auto Trait Implementations§
impl Freeze for Division
impl RefUnwindSafe for Division
impl Send for Division
impl Sync for Division
impl Unpin for Division
impl UnwindSafe for Division
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)