Enum rustyline::history::SearchDirection
source · pub enum SearchDirection {
Forward,
Reverse,
}
Expand description
Search direction
Variants§
Trait Implementations§
source§impl Clone for SearchDirection
impl Clone for SearchDirection
source§fn clone(&self) -> SearchDirection
fn clone(&self) -> SearchDirection
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§impl Debug for SearchDirection
impl Debug for SearchDirection
source§impl PartialEq for SearchDirection
impl PartialEq for SearchDirection
impl Copy for SearchDirection
impl Eq for SearchDirection
impl StructuralPartialEq for SearchDirection
Auto Trait Implementations§
impl Freeze for SearchDirection
impl RefUnwindSafe for SearchDirection
impl Send for SearchDirection
impl Sync for SearchDirection
impl Unpin for SearchDirection
impl UnwindSafe for SearchDirection
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)