pub enum EditAction {
Cut,
Copy,
Paste,
SelectAll,
}Expand description
What the shell does to the focused field when a built-in item of the bar is pressed.
Variants§
Cut
Copies the selection to the clipboard, then deletes it.
Copy
Copies the selection to the clipboard.
Paste
Types the clipboard’s text where the selection or the caret is.
SelectAll
Selects the whole text.
Implementations§
Trait Implementations§
Source§impl Clone for EditAction
impl Clone for EditAction
impl Copy for EditAction
Source§impl Debug for EditAction
impl Debug for EditAction
impl Eq for EditAction
Source§impl Hash for EditAction
impl Hash for EditAction
Source§impl PartialEq for EditAction
impl PartialEq for EditAction
impl StructuralPartialEq for EditAction
Auto Trait Implementations§
impl Freeze for EditAction
impl RefUnwindSafe for EditAction
impl Send for EditAction
impl Sync for EditAction
impl Unpin for EditAction
impl UnsafeUnpin for EditAction
impl UnwindSafe for EditAction
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