Enum difference::Difference [] [src]

pub enum Difference {
    Same(String),
    Add(String),
    Rem(String),
}

Defines the contents of a changeset Changesets will be delivered in order of appearance in the original string Sequences of the same kind will be grouped into one Difference

Variants

Sequences that are the same

Sequences that are an addition (don't appear in the first string)

Sequences that are a removal (don't appear in the second string)

Trait Implementations

impl PartialEq for Difference
[src]

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

This method tests for !=.

impl Debug for Difference
[src]

Formats the value using the given formatter.