pub enum Action {
Show 15 variants
Quit,
Save,
NextTool,
DeleteAtCursor,
LabelEditAtCursor,
Undo,
Redo,
CycleOverlap,
TogglePanel,
NameSession,
RotateCcw,
RotateCw,
ReleaseMonitor,
ToggleSnap,
NextTheme,
}Variants§
Quit
Save
NextTool
DeleteAtCursor
LabelEditAtCursor
Undo
Redo
Re-apply the most recently undone edit.
CycleOverlap
Send the topmost shape under the cursor to the bottom of the stack, so overlapped shapes become reachable.
TogglePanel
Show or hide the control panel.
NameSession
Open the session-name editor.
RotateCcw
Rotate the shape under the cursor counterclockwise.
RotateCw
Rotate the shape under the cursor clockwise.
ReleaseMonitor
Unfreeze the monitor under the cursor and close its overlay window,
leaving the others frozen. The only way to reach this: the overlay
windows are borderless and undecorated, so no close button exists
and CloseRequested never fires from a user action.
ToggleSnap
Turn edge snapping on or off for the rest of the run. The config owns the launch default; this does not persist.
NextTheme
Accepted by the grammar for forward compatibility; snapshot mode has no themes, so the binary treats it as a no-op.
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.