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 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 GeneralMidi
impl Debug for GeneralMidi
Source§impl PartialEq for GeneralMidi
impl PartialEq for GeneralMidi
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