pub struct SMF {
pub format: SMFFormat,
pub tracks: Vec<Track>,
pub division: i16,
}Expand description
A standard midi file
Fields§
§format: SMFFormatThe format of the SMF
tracks: Vec<Track>Vector holding each track in this SMF
division: i16The unit of time for delta timing. If the value is positive, then it represents the units per beat. For example, +96 would mean 96 ticks per beat. If the value is negative, delta times are in SMPTE compatible units.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SMF
impl RefUnwindSafe for SMF
impl Send for SMF
impl Sync for SMF
impl Unpin for SMF
impl UnwindSafe for SMF
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