Enum reedline::HistoryNavigationQuery
source · [−]pub enum HistoryNavigationQuery {
Normal(LineBuffer),
PrefixSearch(String),
SubstringSearch(String),
}
Expand description
Browsing modes for a History
Variants
Normal(LineBuffer)
bash
style browsing through the history. Contained LineBuffer
is used to store the state of manual entry before browsing through the history
PrefixSearch(String)
Search for entries starting with a particular string.
SubstringSearch(String)
Full exact search for all entries containing a string.
Trait Implementations
sourceimpl Clone for HistoryNavigationQuery
impl Clone for HistoryNavigationQuery
sourcefn clone(&self) -> HistoryNavigationQuery
fn clone(&self) -> HistoryNavigationQuery
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for HistoryNavigationQuery
impl Debug for HistoryNavigationQuery
sourcefn eq(&self, other: &HistoryNavigationQuery) -> bool
fn eq(&self, other: &HistoryNavigationQuery) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &HistoryNavigationQuery) -> bool
fn ne(&self, other: &HistoryNavigationQuery) -> bool
This method tests for !=
.
impl Eq for HistoryNavigationQuery
impl StructuralEq for HistoryNavigationQuery
impl StructuralPartialEq for HistoryNavigationQuery
Auto Trait Implementations
impl RefUnwindSafe for HistoryNavigationQuery
impl Send for HistoryNavigationQuery
impl Sync for HistoryNavigationQuery
impl Unpin for HistoryNavigationQuery
impl UnwindSafe for HistoryNavigationQuery
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more