Enum similar::DiffTag[][src]

pub enum DiffTag {
    Equal,
    Delete,
    Insert,
    Replace,
}

The tag of a diff operation.

Variants

Equal

The diff op encodes an equal segment.

Delete

The diff op encodes a deleted segment.

Insert

The diff op encodes an inserted segment.

Replace

The diff op encodes a replaced segment.

Trait Implementations

impl Clone for DiffTag[src]

impl Copy for DiffTag[src]

impl Debug for DiffTag[src]

impl Eq for DiffTag[src]

impl Hash for DiffTag[src]

impl Ord for DiffTag[src]

impl PartialEq<DiffTag> for DiffTag[src]

impl PartialOrd<DiffTag> for DiffTag[src]

impl StructuralEq for DiffTag[src]

impl StructuralPartialEq for DiffTag[src]

Auto Trait Implementations

impl RefUnwindSafe for DiffTag

impl Send for DiffTag

impl Sync for DiffTag

impl Unpin for DiffTag

impl UnwindSafe for DiffTag

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.