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
impl Eq for ParseAction
impl StructuralPartialEq for ParseAction
Auto Trait Implementations§
impl Freeze for ParseAction
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more