Struct wasmfmt::Diff[][src]

pub struct Diff<'src, 'fmt> { /* fields omitted */ }

Created from two different strings. Presents the difference when formatted.

Implementations

impl<'src, 'fmt> Diff<'src, 'fmt>[src]

pub fn from(source: &'src str, formatted: &'fmt str) -> Option<Self>[src]

Trait Implementations

impl<'src, 'fmt> Display for Diff<'src, 'fmt>[src]

Auto Trait Implementations

impl<'src, 'fmt> RefUnwindSafe for Diff<'src, 'fmt>[src]

impl<'src, 'fmt> Send for Diff<'src, 'fmt>[src]

impl<'src, 'fmt> Sync for Diff<'src, 'fmt>[src]

impl<'src, 'fmt> Unpin for Diff<'src, 'fmt>[src]

impl<'src, 'fmt> UnwindSafe for Diff<'src, 'fmt>[src]

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> ToString for T where
    T: Display + ?Sized
[src]

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.