Enum reedline::menu_functions::ParseAction
source · pub enum ParseAction {
ForwardSearch,
BackwardSearch,
LastToken,
LastCommand,
}
Expand description
Direction of the index found in the string
Variants§
ForwardSearch
Forward index search
BackwardSearch
Backward index search
LastToken
Last token
LastCommand
Last executed command.
Trait Implementations§
source§impl Debug for ParseAction
impl Debug for ParseAction
source§impl PartialEq for ParseAction
impl PartialEq for ParseAction
source§fn eq(&self, other: &ParseAction) -> bool
fn eq(&self, other: &ParseAction) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseAction
impl StructuralPartialEq for ParseAction
Auto Trait Implementations§
impl RefUnwindSafe for ParseAction
impl Send for ParseAction
impl Sync for ParseAction
impl Unpin for ParseAction
impl UnwindSafe for ParseAction
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