[][src]Struct voikko_rs::voikko::GrammarError

pub struct GrammarError {
    pub code: i32,
    pub start_pos: usize,
    pub length: usize,
    pub suggestions: Vec<String>,
    pub description: String,
}

Grammar error

Fields

code: i32

Error code

start_pos: usize

Start position of the error in characters

length: usize

Length of the error in characters

suggestions: Vec<String>

A list of suggestions for correcting the grammar error

description: String

A localized short description of the grammar error

Trait Implementations

impl Debug for GrammarError[src]

impl Eq for GrammarError[src]

impl PartialEq<GrammarError> for GrammarError[src]

impl StructuralEq for GrammarError[src]

impl StructuralPartialEq for GrammarError[src]

Auto Trait Implementations

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, 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.