pub enum Action {
Show 41 variants
Quit,
OpenSpaceMenu,
CloseSpaceMenu,
NextPane,
PrevPane,
SpaceMenuUp,
SpaceMenuDown,
SpaceMenuSelect,
SpaceMenuSwitchTab,
SpaceMenuKey(char),
PlayPause,
ToggleRecord,
ToggleMetronome,
Panic,
Save,
FocusLoopEditor,
LoopToggleEnabled,
LoopStartLeft,
LoopStartRight,
LoopEndLeft,
LoopEndRight,
LoopUnfocus,
MoveUp,
MoveDown,
MoveLeft,
MoveRight,
Select,
Back,
ToggleMute,
ToggleSolo,
ToggleArm,
ToggleLoopRecord,
AddInstrument,
InstrumentSelect,
InstrumentCancel,
CycleTab,
ParamUp,
ParamDown,
ParamDecrease,
ParamIncrease,
None,
}Expand description
Every discrete action a user can perform in the application.
Variants§
Quit
OpenSpaceMenu
CloseSpaceMenu
NextPane
PrevPane
SpaceMenuUp
SpaceMenuDown
SpaceMenuSelect
SpaceMenuSwitchTab
SpaceMenuKey(char)
PlayPause
ToggleRecord
ToggleMetronome
Panic
Save
FocusLoopEditor
LoopToggleEnabled
LoopStartLeft
LoopStartRight
LoopEndLeft
LoopEndRight
LoopUnfocus
MoveUp
MoveDown
MoveLeft
MoveRight
Select
Back
ToggleMute
ToggleSolo
ToggleArm
ToggleLoopRecord
AddInstrument
InstrumentSelect
InstrumentCancel
CycleTab
ParamUp
ParamDown
ParamDecrease
ParamIncrease
None
Trait Implementations§
impl Copy for Action
impl Eq for Action
impl StructuralPartialEq for Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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