pub struct Header {
pub format: SMFFormat,
pub num_tracks: u16,
pub division: Division,
}
Expand description
The header chunk of a Standard Midi File
Fields§
§format: SMFFormat
The format of the file
num_tracks: u16
How many tracks are in the file
division: Division
The “division” of the file, which specifies the meaning of the delta times in the file
Trait Implementations§
source§impl PartialEq for Header
impl PartialEq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Freeze for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnwindSafe for Header
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