pub struct MidiHeader {
pub format: MidiFormat,
pub division: Division,
}
Expand description
A data structure for the Midi file header chunk
Fields§
§format: MidiFormat
The format of the file
division: Division
The way time is divided
Trait Implementations§
Source§impl Clone for MidiHeader
impl Clone for MidiHeader
Source§fn clone(&self) -> MidiHeader
fn clone(&self) -> MidiHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MidiHeader
impl Debug for MidiHeader
Source§impl PartialEq for MidiHeader
impl PartialEq for MidiHeader
impl Copy for MidiHeader
impl StructuralPartialEq for MidiHeader
Auto Trait Implementations§
impl Freeze for MidiHeader
impl RefUnwindSafe for MidiHeader
impl Send for MidiHeader
impl Sync for MidiHeader
impl Unpin for MidiHeader
impl UnwindSafe for MidiHeader
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