pub enum AppCommand {
Show 22 variants
SwitchDarkLightMode,
ToggleHiddenFiles,
CreateDirectory,
CreateFile,
CreateSymlink,
ExtractArchive,
JumpToPath,
HistoryBack,
HistoryForward,
SaveBookmark,
GoToBookmark,
ShowShortcuts,
CopyToOtherPane,
MoveToOtherPane,
Delete,
Rename,
ViewFile,
FilterFiles,
ClearFilter,
SortByName,
SortBySize,
SortByModified,
}Variants§
SwitchDarkLightMode
ToggleHiddenFiles
CreateDirectory
CreateFile
CreateSymlink
ExtractArchive
JumpToPath
HistoryBack
HistoryForward
SaveBookmark
GoToBookmark
ShowShortcuts
CopyToOtherPane
MoveToOtherPane
Delete
Rename
ViewFile
FilterFiles
ClearFilter
SortByName
SortBySize
SortByModified
Implementations§
Source§impl AppCommand
impl AppCommand
pub const fn all() -> &'static [Self]
pub const fn title(self) -> &'static str
pub const fn description(self) -> &'static str
pub const fn shortcut(self) -> Option<&'static str>
Sourcepub const fn sort_key(self) -> Option<SortKey>
pub const fn sort_key(self) -> Option<SortKey>
The sort key this command selects, for commands that set the active pane’s sort key.
pub fn matches_query(self, query: &str) -> bool
Trait Implementations§
Source§impl Clone for AppCommand
impl Clone for AppCommand
Source§fn clone(&self) -> AppCommand
fn clone(&self) -> AppCommand
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 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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.