pub struct SmfFile {
pub format: u16,
pub division: Division,
pub tracks: Vec<Track>,
}Expand description
A parsed Standard MIDI File.
Fields§
§format: u160 (single multi-channel track), 1 (multiple simultaneous tracks), or 2 (multiple independent sequences).
division: DivisionTime division from the header.
tracks: Vec<Track>The tracks, in file order.
Trait Implementations§
impl Eq for SmfFile
impl StructuralPartialEq for SmfFile
Auto Trait Implementations§
impl Freeze for SmfFile
impl RefUnwindSafe for SmfFile
impl Send for SmfFile
impl Sync for SmfFile
impl Unpin for SmfFile
impl UnsafeUnpin for SmfFile
impl UnwindSafe for SmfFile
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