Enum midi_msg::GeneralMidi
source · [−]pub enum GeneralMidi {
GM1,
GM2,
Off,
}
Expand description
Used to turn General MIDI level 1 or 2 on, or turn them off.
Variants
GM1
GM2
Off
Trait Implementations
sourceimpl Clone for GeneralMidi
impl Clone for GeneralMidi
sourcefn clone(&self) -> GeneralMidi
fn clone(&self) -> GeneralMidi
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GeneralMidi
impl Debug for GeneralMidi
sourceimpl PartialEq<GeneralMidi> for GeneralMidi
impl PartialEq<GeneralMidi> for GeneralMidi
sourcefn eq(&self, other: &GeneralMidi) -> bool
fn eq(&self, other: &GeneralMidi) -> bool
impl Copy for GeneralMidi
impl Eq for GeneralMidi
impl StructuralEq for GeneralMidi
impl StructuralPartialEq for GeneralMidi
Auto Trait Implementations
impl RefUnwindSafe for GeneralMidi
impl Send for GeneralMidi
impl Sync for GeneralMidi
impl Unpin for GeneralMidi
impl UnwindSafe for GeneralMidi
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more