[][src]Struct typos::report::Correction

pub struct Correction<'m> {
    pub path: &'m Path,
    pub line: &'m [u8],
    pub line_num: usize,
    pub col_num: usize,
    pub typo: &'m str,
    pub correction: Cow<'m, str>,
    // some fields omitted
}

Fields

path: &'m Pathline: &'m [u8]line_num: usizecol_num: usizetypo: &'m strcorrection: Cow<'m, str>

Trait Implementations

impl<'m> From<Correction<'m>> for Message<'m>[src]

impl<'m> Clone for Correction<'m>[src]

impl<'m> Debug for Correction<'m>[src]

impl<'m> Serialize for Correction<'m>[src]

Auto Trait Implementations

impl<'m> Send for Correction<'m>

impl<'m> Sync for Correction<'m>

impl<'m> Unpin for Correction<'m>

impl<'m> UnwindSafe for Correction<'m>

impl<'m> RefUnwindSafe for Correction<'m>

Blanket Implementations

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

impl<T> From<T> for 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]