Struct nom_midi::MidiHeader
[−]
[src]
pub struct MidiHeader { pub format: MidiFormat, pub division: Division, }
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
impl Debug for MidiHeader
[src]
impl PartialEq for MidiHeader
[src]
fn eq(&self, __arg_0: &MidiHeader) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MidiHeader) -> bool
This method tests for !=
.
impl Copy for MidiHeader
[src]
impl Clone for MidiHeader
[src]
fn clone(&self) -> MidiHeader
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more