Enum lcs::DiffComponent [] [src]

pub enum DiffComponent<T> {
    Insertion(T),
    Unchanged(T, T),
    Deletion(T),
}

Variants

Insertion(T)Unchanged(T, T)Deletion(T)

Trait Implementations

impl<T: Eq> Eq for DiffComponent<T>
[src]

impl<T: PartialEq> PartialEq for DiffComponent<T>
[src]

fn eq(&self, __arg_0: &DiffComponent<T>) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &DiffComponent<T>) -> bool

This method tests for !=.

impl<T: Debug> Debug for DiffComponent<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.