Enum rustyline::config::HistoryDuplicates
source · pub enum HistoryDuplicates {
AlwaysAdd,
IgnoreConsecutive,
}
Variants§
AlwaysAdd
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 more