pub enum MidiPortsOutputChannel {
AutoChannel,
TrackChannel,
}
Expand description
An enum which represents the channels used for midi parameter output through the midi ports.
It can be either the auto channel or the track channel.
Variants§
Trait Implementations§
source§impl Clone for MidiPortsOutputChannel
impl Clone for MidiPortsOutputChannel
source§fn clone(&self) -> MidiPortsOutputChannel
fn clone(&self) -> MidiPortsOutputChannel
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 MidiPortsOutputChannel
impl Debug for MidiPortsOutputChannel
source§impl Default for MidiPortsOutputChannel
impl Default for MidiPortsOutputChannel
source§fn default() -> MidiPortsOutputChannel
fn default() -> MidiPortsOutputChannel
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MidiPortsOutputChannel
impl<'de> Deserialize<'de> for MidiPortsOutputChannel
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<MidiPortsOutputChannel> for &str
impl From<MidiPortsOutputChannel> for &str
source§fn from(mpoc: MidiPortsOutputChannel) -> Self
fn from(mpoc: MidiPortsOutputChannel) -> Self
Converts to this type from the input type.
source§impl From<MidiPortsOutputChannel> for u8
impl From<MidiPortsOutputChannel> for u8
source§fn from(mpoc: MidiPortsOutputChannel) -> Self
fn from(mpoc: MidiPortsOutputChannel) -> Self
Converts to this type from the input type.
source§impl Hash for MidiPortsOutputChannel
impl Hash for MidiPortsOutputChannel
source§impl Ord for MidiPortsOutputChannel
impl Ord for MidiPortsOutputChannel
source§fn cmp(&self, other: &MidiPortsOutputChannel) -> Ordering
fn cmp(&self, other: &MidiPortsOutputChannel) -> 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 MidiPortsOutputChannel
impl PartialEq for MidiPortsOutputChannel
source§fn eq(&self, other: &MidiPortsOutputChannel) -> bool
fn eq(&self, other: &MidiPortsOutputChannel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for MidiPortsOutputChannel
impl PartialOrd for MidiPortsOutputChannel
source§fn partial_cmp(&self, other: &MidiPortsOutputChannel) -> Option<Ordering>
fn partial_cmp(&self, other: &MidiPortsOutputChannel) -> 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 MidiPortsOutputChannel
impl Serialize for MidiPortsOutputChannel
source§impl TryFrom<&str> for MidiPortsOutputChannel
impl TryFrom<&str> for MidiPortsOutputChannel
source§impl TryFrom<u8> for MidiPortsOutputChannel
impl TryFrom<u8> for MidiPortsOutputChannel
impl Copy for MidiPortsOutputChannel
impl Eq for MidiPortsOutputChannel
impl StructuralEq for MidiPortsOutputChannel
impl StructuralPartialEq for MidiPortsOutputChannel
Auto Trait Implementations§
impl RefUnwindSafe for MidiPortsOutputChannel
impl Send for MidiPortsOutputChannel
impl Sync for MidiPortsOutputChannel
impl Unpin for MidiPortsOutputChannel
impl UnwindSafe for MidiPortsOutputChannel
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