Struct augmented_midi::MIDIFileHeader
source · pub struct MIDIFileHeader {
pub format: MIDIFileFormat,
pub num_tracks: u16,
pub division: MIDIFileDivision,
}
Expand description
The header chunk’s contents
Fields§
§format: MIDIFileFormat
How the file is organized
num_tracks: u16
The number of tracks in the file
division: MIDIFileDivision
Specifies the meaning of the delta times in events
Trait Implementations§
source§impl Debug for MIDIFileHeader
impl Debug for MIDIFileHeader
source§impl PartialEq for MIDIFileHeader
impl PartialEq for MIDIFileHeader
source§fn eq(&self, other: &MIDIFileHeader) -> bool
fn eq(&self, other: &MIDIFileHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for MIDIFileHeader
impl StructuralEq for MIDIFileHeader
impl StructuralPartialEq for MIDIFileHeader
Auto Trait Implementations§
impl RefUnwindSafe for MIDIFileHeader
impl Send for MIDIFileHeader
impl Sync for MIDIFileHeader
impl Unpin for MIDIFileHeader
impl UnwindSafe for MIDIFileHeader
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