Enum reedline::SearchDirection
source · [−]pub enum SearchDirection {
Backward,
Forward,
}
Expand description
Defines how to traverse the history when executing a SearchQuery
Variants
Backward
From the most recent entry backward
Forward
From the least recent entry forward
Trait Implementations
sourceimpl Clone for SearchDirection
impl Clone for SearchDirection
sourcefn clone(&self) -> SearchDirection
fn clone(&self) -> SearchDirection
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 PartialEq<SearchDirection> for SearchDirection
impl PartialEq<SearchDirection> for SearchDirection
impl Copy for SearchDirection
impl Eq for SearchDirection
impl StructuralEq for SearchDirection
impl StructuralPartialEq for SearchDirection
Auto Trait Implementations
impl RefUnwindSafe for SearchDirection
impl Send for SearchDirection
impl Sync for SearchDirection
impl Unpin for SearchDirection
impl UnwindSafe for SearchDirection
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