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
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 moresourcefn eq(&self, other: &HistoryNavigationQuery) -> bool
fn eq(&self, other: &HistoryNavigationQuery) -> bool
Auto Trait Implementations
Blanket Implementations
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more