pub enum AppCommand {
Show 20 variants
Down,
Up,
Expand,
Collapse,
ExpandRecursively,
CollapseRecursively,
Select,
Accept,
AcceptAlternate,
Descend,
NextSibling,
PrevSibling,
PageDown,
PageUp,
HalfPageDown,
HalfPageUp,
First,
Last,
Jump,
Quit,
}Expand description
A command understood by the application itself (the cmd binding kind).
Variants§
Down
Move focus to the next on-screen line.
Up
Move focus to the previous on-screen line.
Expand
Expand the focused non-leaf, or focus its first child if already expanded.
Collapse
Collapse the focused expanded branch, or focus its parent.
ExpandRecursively
Expand the focused non-leaf recursively.
CollapseRecursively
Collapse the focused non-leaf recursively.
Select
Enter semantics: expand a non-leaf, run the default action on a leaf.
Accept
Run the default action regardless of leaf-ness.
AcceptAlternate
Run the source-specific alternate action regardless of leaf-ness.
Descend
Descend into a non-leaf, expanding it first if collapsed.
NextSibling
Focus next sibling, skipping over expanded children.
PrevSibling
Focus previous sibling.
PageDown
Scroll down one page.
PageUp
Scroll up one page.
HalfPageDown
Scroll down half a page.
HalfPageUp
Scroll up half a page.
First
Go to the first line.
Last
Go to the last visible line.
Jump
Open the jump picker: fuzzy-find a node by path and move focus to it.
Quit
Exit without printing anything.
Implementations§
Trait Implementations§
Source§impl Clone for AppCommand
impl Clone for AppCommand
Source§fn clone(&self) -> AppCommand
fn clone(&self) -> AppCommand
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for AppCommand
Source§impl Debug for AppCommand
impl Debug for AppCommand
impl Eq for AppCommand
Source§impl PartialEq for AppCommand
impl PartialEq for AppCommand
impl StructuralPartialEq for AppCommand
Auto Trait Implementations§
impl Freeze for AppCommand
impl RefUnwindSafe for AppCommand
impl Send for AppCommand
impl Sync for AppCommand
impl Unpin for AppCommand
impl UnsafeUnpin for AppCommand
impl UnwindSafe for AppCommand
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more