[−][src]Enum rushell_deps_linefeed::command::Command
Represents a command to modify Reader
state
Variants
Abort history search
Accepts the current input line
Perform completion
Insert all completions into the input buffer
Show possible completions
Insert the next possible completion
Insert the previous possible completion
Begin numeric argument input
Insert character or sequence at the cursor
Inserts a tab character
Toggles insert/overwrite mode
Insert a comment and accept input
Move the cursor backward one character
Move the cursor forward one character
Search for a given character
Search backward for a given character
Move the cursor backward one word
Move the cursor forward one word
Kill all characters before the cursor
Kill all characters after the cursor
Kill a word before the cursor
Kill a word after the cursor
Kill a word before the cursor, delimited by whitespace
Clear the screen
Move the cursor to the beginning of the line
Move the cursor to the end of the line
Delete one character before the cursor
Delete one character after the cursor
Drag the character before the cursor forward
Drag the word before the cursor forward
Move to the first line of history
Move to the last line of history
Select next line in history
Select previous line in history
Incremental search in history
Incremental reverse search in history
Non-incremental forward history search using input up to the cursor
Non-incremental backward history search using input up to the cursor
Insert literal character
Insert text into buffer from the kill ring
Rotate the kill ring and yank the new top
Custom application-defined command
Execute a given key sequence
Implementations
impl Command
[src]
pub fn from_str(name: &'static str) -> Command
[src]
Constructs a command from a 'static str
reference.
If the string does not refer to a built-in command, a value
of Command::Custom(Borrowed(name))
will be returned.
pub fn from_string<T>(name: T) -> Command where
T: AsRef<str> + Into<String>,
[src]
T: AsRef<str> + Into<String>,
Constructs a command from a non-'static
string-like type.
If the string does not refer to a built-in command, a value
of Command::Custom(Owned(name.into()))
will be returned.
impl Command
[src]
Trait Implementations
impl Clone for Command
[src]
impl Debug for Command
[src]
impl Display for Command
[src]
impl Eq for Command
[src]
impl PartialEq<Command> for Command
[src]
impl StructuralEq for Command
[src]
impl StructuralPartialEq for Command
[src]
Auto Trait Implementations
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnwindSafe for Command
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,
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.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
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.
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>,