pub enum Action {
Show 30 variants
NextSlide,
PreviousSlide,
NextOverlay,
PreviousOverlay,
FirstSlide,
LastSlide,
GoToSlide,
ToggleFreeze,
ToggleBlackout,
ToggleWhiteboard,
ToggleLaser,
CycleLaserStyle,
ToggleInk,
ClearInk,
CycleInkColor,
CycleInkWidth,
ToggleSpotlight,
ToggleZoom,
ToggleOverview,
ToggleNotes,
ToggleNotesEdit,
StartPauseTimer,
ResetTimer,
IncrementNotesFont,
DecrementNotesFont,
ToggleScreenShare,
TogglePresentationMode,
ToggleTextBoxMode,
Quit,
SaveSidecar,
}Expand description
Named actions that can be bound to keys.
These names are the public API for keybinding configuration — they appear in the TOML config file and in documentation. Renaming one is a breaking change.
Variants§
NextSlide
Advance to the next logical slide or overlay-aware build step.
PreviousSlide
Move to the previous logical slide or overlay-aware build step.
NextOverlay
Advance by one raw PDF page.
PreviousOverlay
Move back by one raw PDF page.
FirstSlide
Jump to the first logical slide.
LastSlide
Jump to the last logical slide.
GoToSlide
Enter a numeric slide jump.
ToggleFreeze
Freeze or unfreeze the audience display.
ToggleBlackout
Black out or restore the audience display.
ToggleWhiteboard
Show or hide the whiteboard canvas.
ToggleLaser
Enable or disable the laser pointer.
CycleLaserStyle
Rotate through configured laser pointer styles.
ToggleInk
Enable or disable freehand ink mode.
ClearInk
Clear ink from the active slide or whiteboard.
CycleInkColor
Rotate through configured ink colors.
CycleInkWidth
Rotate through configured ink widths.
ToggleSpotlight
Enable or disable the spotlight overlay.
ToggleZoom
Enable or disable the zoom overlay.
ToggleOverview
Show or hide the slide overview.
ToggleNotes
Show or hide slide notes.
ToggleNotesEdit
Toggle markdown editing for slide notes.
StartPauseTimer
Start, pause, or resume the main timer.
ResetTimer
Reset the main timer.
IncrementNotesFont
Increase the notes font size.
DecrementNotesFont
Decrease the notes font size.
Toggle screen-share window mode.
TogglePresentationMode
Toggle the single-monitor presentation surface.
ToggleTextBoxMode
Enable or disable text box placement mode.
Quit
Request application shutdown.
SaveSidecar
Save the active sidecar file.
Implementations§
Source§impl Action
impl Action
Sourcepub fn config_name(self) -> &'static str
pub fn config_name(self) -> &'static str
The config-file name for this action (e.g., next_slide).
Sourcepub fn description(self) -> &'static str
pub fn description(self) -> &'static str
Human-readable description for the help overlay.
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§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.