pub enum MidiParameterOutput {
Nrpn,
Cc,
}
Expand description
An enum which represents the type of midi parameter output in the midi config menu.
It can be either NRPN
or CC
.
Variants§
Trait Implementations§
source§impl Clone for MidiParameterOutput
impl Clone for MidiParameterOutput
source§fn clone(&self) -> MidiParameterOutput
fn clone(&self) -> MidiParameterOutput
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 MidiParameterOutput
impl Debug for MidiParameterOutput
source§impl Default for MidiParameterOutput
impl Default for MidiParameterOutput
source§fn default() -> MidiParameterOutput
fn default() -> MidiParameterOutput
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MidiParameterOutput
impl<'de> Deserialize<'de> for MidiParameterOutput
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<MidiParameterOutput> for &str
impl From<MidiParameterOutput> for &str
source§fn from(mpo: MidiParameterOutput) -> Self
fn from(mpo: MidiParameterOutput) -> Self
Converts to this type from the input type.
source§impl From<MidiParameterOutput> for u8
impl From<MidiParameterOutput> for u8
source§fn from(mpo: MidiParameterOutput) -> Self
fn from(mpo: MidiParameterOutput) -> Self
Converts to this type from the input type.
source§impl Hash for MidiParameterOutput
impl Hash for MidiParameterOutput
source§impl Ord for MidiParameterOutput
impl Ord for MidiParameterOutput
source§fn cmp(&self, other: &MidiParameterOutput) -> Ordering
fn cmp(&self, other: &MidiParameterOutput) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for MidiParameterOutput
impl PartialEq for MidiParameterOutput
source§fn eq(&self, other: &MidiParameterOutput) -> bool
fn eq(&self, other: &MidiParameterOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MidiParameterOutput
impl PartialOrd for MidiParameterOutput
source§fn partial_cmp(&self, other: &MidiParameterOutput) -> Option<Ordering>
fn partial_cmp(&self, other: &MidiParameterOutput) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for MidiParameterOutput
impl Serialize for MidiParameterOutput
source§impl TryFrom<&str> for MidiParameterOutput
impl TryFrom<&str> for MidiParameterOutput
source§impl TryFrom<u8> for MidiParameterOutput
impl TryFrom<u8> for MidiParameterOutput
impl Copy for MidiParameterOutput
impl Eq for MidiParameterOutput
impl StructuralEq for MidiParameterOutput
impl StructuralPartialEq for MidiParameterOutput
Auto Trait Implementations§
impl RefUnwindSafe for MidiParameterOutput
impl Send for MidiParameterOutput
impl Sync for MidiParameterOutput
impl Unpin for MidiParameterOutput
impl UnwindSafe for MidiParameterOutput
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