pub enum Pad {
Show 16 variants
PlugIn,
Mixer,
Sends,
Transport,
EncoderCustom1,
EncoderCustom2,
EncoderCustom3,
EncoderCustom4,
DAW,
Drum,
UserChord,
ChordMap,
PadCustom1,
PadCustom2,
PadCustom3,
PadCustom4,
}Variants§
PlugIn
Mixer
Sends
Transport
EncoderCustom1
EncoderCustom2
EncoderCustom3
EncoderCustom4
DAW
Drum
UserChord
ChordMap
PadCustom1
PadCustom2
PadCustom3
PadCustom4
Implementations§
Source§impl Pad
impl Pad
pub fn to_value_mode(&self, mode: PadCCIndex) -> u8
pub fn from_value_mode(value: u8, mode: PadCCIndex) -> Option<Pad>
pub fn from_value(value: u8) -> Option<(Pad, PadCCIndex)>
Trait Implementations§
impl Copy for Pad
impl Eq for Pad
impl StructuralPartialEq for Pad
Auto Trait Implementations§
impl Freeze for Pad
impl RefUnwindSafe for Pad
impl Send for Pad
impl Sync for Pad
impl Unpin for Pad
impl UnwindSafe for Pad
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more