Enum rustyline::Cmd [−][src]
Commands
Variants
abort
accept-line
beginning-of-history
capitalize-word
clear-screen
complete
complete-backward
complete-hint
downcase-word
vi-eof-maybe
end-of-history
forward-search-history
history-search-backward
history-search-forward
Insert(RepeatCount, String)
Kill(Movement)
backward-delete-char, backward-kill-line, backward-kill-word delete-char, kill-line, kill-word, unix-line-discard, unix-word-rubout, vi-delete, vi-delete-to, vi-rubout
Move(Movement)
backward-char, backward-word, beginning-of-line, end-of-line, forward-char, forward-word, vi-char-search, vi-end-word, vi-next-word, vi-prev-word
next-history
Overwrite(char)
vi-replace
previous-history
quoted-insert
ReplaceChar(RepeatCount, char)
vi-change-char
vi-change-to, vi-substitute
reverse-search-history
SelfInsert(RepeatCount, char)
self-insert
transpose-chars
TransposeWords(RepeatCount)
transpose-words
Undo(RepeatCount)
undo
upcase-word
ViYankTo(Movement)
vi-yank-to
Yank(RepeatCount, Anchor)
yank, vi-put
yank-pop
moves cursor to the line above or switches to prev history entry if the cursor is already on the first line
moves cursor to the line below or switches to next history entry if the cursor is already on the last line
accepts the line when cursor is at the end of the text (non including trailing whitespace), inserts newline character otherwise
Implementations
impl Cmd
[src]
pub fn should_reset_kill_ring(&self) -> bool
[src]
Trait Implementations
impl Clone for Cmd
[src]
impl Debug for Cmd
[src]
impl PartialEq<Cmd> for Cmd
[src]
impl StructuralPartialEq for Cmd
[src]
Auto Trait Implementations
impl RefUnwindSafe for Cmd
impl Send for Cmd
impl Sync for Cmd
impl Unpin for Cmd
impl UnwindSafe for Cmd
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,