pub enum ParameterDestination {
Internal,
InternalAndExternal,
External,
}
Expand description
An enum which represents parameter destinations in the midi config menu.
It can be either internal, internal and external or external.
- Internal means that the parameter value is not sent to the external world.
- External means that the parameter value is sent to the external world but not to the internal world.
- Internal and external means that the parameter value is sent to both the internal and external world.
Variants§
Trait Implementations§
source§impl Clone for ParameterDestination
impl Clone for ParameterDestination
source§fn clone(&self) -> ParameterDestination
fn clone(&self) -> ParameterDestination
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 ParameterDestination
impl Debug for ParameterDestination
source§impl Default for ParameterDestination
impl Default for ParameterDestination
source§fn default() -> ParameterDestination
fn default() -> ParameterDestination
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ParameterDestination
impl<'de> Deserialize<'de> for ParameterDestination
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<ParameterDestination> for &str
impl From<ParameterDestination> for &str
source§fn from(pd: ParameterDestination) -> Self
fn from(pd: ParameterDestination) -> Self
Converts to this type from the input type.
source§impl From<ParameterDestination> for u8
impl From<ParameterDestination> for u8
source§fn from(ppemd: ParameterDestination) -> Self
fn from(ppemd: ParameterDestination) -> Self
Converts to this type from the input type.
source§impl Hash for ParameterDestination
impl Hash for ParameterDestination
source§impl Ord for ParameterDestination
impl Ord for ParameterDestination
source§fn cmp(&self, other: &ParameterDestination) -> Ordering
fn cmp(&self, other: &ParameterDestination) -> 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 ParameterDestination
impl PartialEq for ParameterDestination
source§fn eq(&self, other: &ParameterDestination) -> bool
fn eq(&self, other: &ParameterDestination) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ParameterDestination
impl PartialOrd for ParameterDestination
source§fn partial_cmp(&self, other: &ParameterDestination) -> Option<Ordering>
fn partial_cmp(&self, other: &ParameterDestination) -> 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 ParameterDestination
impl Serialize for ParameterDestination
source§impl TryFrom<&str> for ParameterDestination
impl TryFrom<&str> for ParameterDestination
source§impl TryFrom<u8> for ParameterDestination
impl TryFrom<u8> for ParameterDestination
impl Copy for ParameterDestination
impl Eq for ParameterDestination
impl StructuralEq for ParameterDestination
impl StructuralPartialEq for ParameterDestination
Auto Trait Implementations§
impl RefUnwindSafe for ParameterDestination
impl Send for ParameterDestination
impl Sync for ParameterDestination
impl Unpin for ParameterDestination
impl UnwindSafe for ParameterDestination
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