pub enum TerminalNavAction {
Ignored,
FocusMoved(NodeId),
Scrolled(i16),
Activated(NodeId),
ExitRequested,
}Expand description
High-level navigation outcome returned by TerminalRenderer::handle_key.
Variants§
Ignored
Keyboard event did not trigger a terminal navigation change.
FocusMoved(NodeId)
Keyboard focus moved to a new focusable scene node.
Scrolled(i16)
Active scroll container offset changed via arrow navigation.
Activated(NodeId)
Currently focused interactive control was activated via Enter.
ExitRequested
User requested graceful exit via Escape or Ctrl+C.
Trait Implementations§
Source§fn clone(&self) -> TerminalNavAction
fn clone(&self) -> TerminalNavAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn default() -> TerminalNavAction
fn default() -> TerminalNavAction
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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