Enum rustyline::config::HistoryDuplicates
source · [−]pub enum HistoryDuplicates {
AlwaysAdd,
IgnoreConsecutive,
}
Expand description
History filter
Variants
AlwaysAdd
No filter
IgnoreConsecutive
a line will not be added to the history if it matches the previous entry
Trait Implementations
sourceimpl Clone for HistoryDuplicates
impl Clone for HistoryDuplicates
sourcefn clone(&self) -> HistoryDuplicates
fn clone(&self) -> HistoryDuplicates
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 HistoryDuplicates
impl Debug for HistoryDuplicates
impl Copy for HistoryDuplicates
impl Eq for HistoryDuplicates
impl StructuralEq for HistoryDuplicates
impl StructuralPartialEq for HistoryDuplicates
Auto Trait Implementations
impl RefUnwindSafe for HistoryDuplicates
impl Send for HistoryDuplicates
impl Sync for HistoryDuplicates
impl Unpin for HistoryDuplicates
impl UnwindSafe for HistoryDuplicates
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