pub enum ControlArgs {
BankUp,
BankDown,
GoToBank(i8),
ToggleFootswitch(i8),
DeviceRestart,
EnterBootloader,
FactoryReset,
}
Expand description
Arguments for Control Requests (CTRL)
Variants§
Trait Implementations§
Source§impl Clone for ControlArgs
impl Clone for ControlArgs
Source§fn clone(&self) -> ControlArgs
fn clone(&self) -> ControlArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ControlArgs
impl Debug for ControlArgs
Auto Trait Implementations§
impl Freeze for ControlArgs
impl RefUnwindSafe for ControlArgs
impl Send for ControlArgs
impl Sync for ControlArgs
impl Unpin for ControlArgs
impl UnwindSafe for ControlArgs
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