Enum midi_msg::GeneralMidi
source · pub enum GeneralMidi {
GM1 = 1,
GM2 = 3,
Off = 2,
}
Expand description
Used to turn General MIDI level 1 or 2 on, or turn them off.
Variants§
Trait Implementations§
source§impl Clone for GeneralMidi
impl Clone for GeneralMidi
source§fn clone(&self) -> GeneralMidi
fn clone(&self) -> GeneralMidi
Returns a copy 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 GeneralMidi
impl Debug for GeneralMidi
source§impl PartialEq for GeneralMidi
impl PartialEq for GeneralMidi
source§fn eq(&self, other: &GeneralMidi) -> bool
fn eq(&self, other: &GeneralMidi) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for GeneralMidi
impl Eq for GeneralMidi
impl StructuralPartialEq for GeneralMidi
Auto Trait Implementations§
impl Freeze for GeneralMidi
impl RefUnwindSafe for GeneralMidi
impl Send for GeneralMidi
impl Sync for GeneralMidi
impl Unpin for GeneralMidi
impl UnwindSafe for GeneralMidi
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