pub struct MiniLaunchKeyButton(pub LaunchKeyButton);
Expand description
A wrapper for LaunchKeyButton
limited to the subset of buttons available on the Launchkey Mini model.
Tuple Fields§
§0: LaunchKeyButton
Implementations§
Source§impl MiniLaunchKeyButton
impl MiniLaunchKeyButton
pub const SUPPORTED: [LaunchKeyButton; 9]
Converts a LaunchKeyButton
to a MiniLaunchKeyButton
if it is supported on the Mini model.
Methods from Deref<Target = LaunchKeyButton>§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MiniLaunchKeyButton
impl RefUnwindSafe for MiniLaunchKeyButton
impl Send for MiniLaunchKeyButton
impl Sync for MiniLaunchKeyButton
impl Unpin for MiniLaunchKeyButton
impl UnwindSafe for MiniLaunchKeyButton
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> 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