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
old_index: Option<usize>
new_index: Option<usize>
data: T
Trait Implementations
impl<T: Debug + PartialEq + Clone> Debug for DiffElement<T>
[src]
impl<T: PartialEq + PartialEq + Clone> PartialEq for DiffElement<T>
[src]
fn eq(&self, __arg_0: &DiffElement<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &DiffElement<T>) -> bool
[src]
This method tests for !=
.