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§
source§fn clone(&self) -> HistoryNavigationQuery
fn clone(&self) -> HistoryNavigationQuery
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§fn 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 ==.Auto Trait Implementations§
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