Enum nom_midi::MidiFormat
[−]
[src]
pub enum MidiFormat { SingleTrack, MultipleTrack(u16), MultipleSong(u16), }
Represents the different formats of a midi file
The parameter is the number of tracks
Variants
SingleTrack
There is only 1 track
MultipleTrack(u16)
There are multiple tracks to be played concurrently
MultipleSong(u16)
There are multiple songs that can be played in any order/combination (e.g. a set of sequences for a drum machine)
Methods
impl MidiFormat
[src]
Trait Implementations
impl Debug for MidiFormat
[src]
impl PartialEq for MidiFormat
[src]
fn eq(&self, __arg_0: &MidiFormat) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MidiFormat) -> bool
This method tests for !=
.
impl Copy for MidiFormat
[src]
impl Clone for MidiFormat
[src]
fn clone(&self) -> MidiFormat
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