Enum HistoryDuplicates

enum HistoryDuplicates

History filter

Variants

AlwaysAdd

No filter

IgnoreConsecutive

a line will not be added to the history if it matches the previous entry

Implementations

impl Clone for HistoryDuplicates

fn clone(self: &Self) -> HistoryDuplicates

impl Copy for HistoryDuplicates

impl Debug for HistoryDuplicates

fn fmt(self: &Self, f: &mut $crate::fmt::Formatter<'_>) -> $crate::fmt::Result

impl Eq for HistoryDuplicates

impl Freeze for HistoryDuplicates

impl PartialEq for HistoryDuplicates

fn eq(self: &Self, other: &HistoryDuplicates) -> bool

impl RefUnwindSafe for HistoryDuplicates

impl Send for HistoryDuplicates

impl StructuralPartialEq for HistoryDuplicates

impl Sync for HistoryDuplicates

impl Unpin for HistoryDuplicates

impl UnwindSafe for HistoryDuplicates

impl<T> Any for HistoryDuplicates

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for HistoryDuplicates

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for HistoryDuplicates

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for HistoryDuplicates

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for HistoryDuplicates

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for HistoryDuplicates

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T, U> Into for HistoryDuplicates

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for HistoryDuplicates

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for HistoryDuplicates

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>