pub enum HardwareTrack {
_1,
_2,
_3and4,
_5,
_6,
_7and8,
_9and10,
_11and12,
}
Expand description
An enum which represents the voices of the rytm coupled by pad numbers.
- Rytm has 8 voices but 12 pads.
- Some pads share the same voice.
- Also it has 8 outputs and they correspond to the voices.
This enum is used to represent the voices coupled by pad numbers.
Variants§
Trait Implementations§
source§impl Clone for HardwareTrack
impl Clone for HardwareTrack
source§fn clone(&self) -> HardwareTrack
fn clone(&self) -> HardwareTrack
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 HardwareTrack
impl Debug for HardwareTrack
source§impl Default for HardwareTrack
impl Default for HardwareTrack
source§fn default() -> HardwareTrack
fn default() -> HardwareTrack
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for HardwareTrack
impl<'de> Deserialize<'de> for HardwareTrack
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<HardwareTrack> for &str
impl From<HardwareTrack> for &str
source§fn from(ht: HardwareTrack) -> Self
fn from(ht: HardwareTrack) -> Self
Converts to this type from the input type.
source§impl From<HardwareTrack> for u8
impl From<HardwareTrack> for u8
source§fn from(ht: HardwareTrack) -> Self
fn from(ht: HardwareTrack) -> Self
Converts to this type from the input type.
source§impl Hash for HardwareTrack
impl Hash for HardwareTrack
source§impl Ord for HardwareTrack
impl Ord for HardwareTrack
source§fn cmp(&self, other: &HardwareTrack) -> Ordering
fn cmp(&self, other: &HardwareTrack) -> 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 HardwareTrack
impl PartialEq for HardwareTrack
source§fn eq(&self, other: &HardwareTrack) -> bool
fn eq(&self, other: &HardwareTrack) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for HardwareTrack
impl PartialOrd for HardwareTrack
source§fn partial_cmp(&self, other: &HardwareTrack) -> Option<Ordering>
fn partial_cmp(&self, other: &HardwareTrack) -> 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 HardwareTrack
impl Serialize for HardwareTrack
source§impl TryFrom<&str> for HardwareTrack
impl TryFrom<&str> for HardwareTrack
source§impl TryFrom<u8> for HardwareTrack
impl TryFrom<u8> for HardwareTrack
impl Copy for HardwareTrack
impl Eq for HardwareTrack
impl StructuralEq for HardwareTrack
impl StructuralPartialEq for HardwareTrack
Auto Trait Implementations§
impl RefUnwindSafe for HardwareTrack
impl Send for HardwareTrack
impl Sync for HardwareTrack
impl Unpin for HardwareTrack
impl UnwindSafe for HardwareTrack
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