Struct lcs_diff::DiffElement [] [src]

pub struct DiffElement<T: PartialEq + Clone> {
    pub old_index: Option<usize>,
    pub new_index: Option<usize>,
    pub data: T,
}

Fields

Trait Implementations

impl<T: Debug + PartialEq + Clone> Debug for DiffElement<T>
[src]

[src]

Formats the value using the given formatter.

impl<T: PartialEq + PartialEq + Clone> PartialEq for DiffElement<T>
[src]

[src]

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

[src]

This method tests for !=.