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§
source§impl Clone for HistoryDuplicates
impl Clone for HistoryDuplicates
source§fn clone(&self) -> HistoryDuplicates
fn clone(&self) -> HistoryDuplicates
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 HistoryDuplicates
impl Debug for HistoryDuplicates
source§impl PartialEq for HistoryDuplicates
impl PartialEq for HistoryDuplicates
impl Copy for HistoryDuplicates
impl Eq for HistoryDuplicates
impl StructuralPartialEq for HistoryDuplicates
Auto Trait Implementations§
impl Freeze for HistoryDuplicates
impl RefUnwindSafe for HistoryDuplicates
impl Send for HistoryDuplicates
impl Sync for HistoryDuplicates
impl Unpin for HistoryDuplicates
impl UnwindSafe for HistoryDuplicates
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
)