[][src]Struct diffr_lib::Snake

pub struct Snake {
    pub x0: isize,
    pub y0: isize,
    pub len: isize,
}

A pair of spans with the same content in two different slices.

Fields

x0: isize

The start of the span in the removed bytes.

y0: isize

The start of the span in the added bytes.

len: isize

The length of the span.

Trait Implementations

impl Clone for Snake[src]

impl Default for Snake[src]

impl Debug for Snake[src]

Auto Trait Implementations

impl Sync for Snake

impl Unpin for Snake

impl Send for Snake

impl UnwindSafe for Snake

impl RefUnwindSafe for Snake

Blanket Implementations

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.

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

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

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