[][src]Enum difference::Difference

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

Same(String)

Sequences that are the same

Add(String)

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

Rem(String)

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

Trait Implementations

impl PartialEq<Difference> for Difference[src]

impl Debug for Difference[src]

Auto Trait Implementations

impl Send for Difference

impl Sync for Difference

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.