Struct english_lint::Hint [] [src]

pub struct Hint {
    pub group: Option<&'static str>,
    pub value: String,
    pub line: Option<usize>,
    pub start: usize,
    pub end: usize,
}

Suggestion on which words to change

Fields

Lint group that caught this word

The actual word

Line this word appeared on (only set when supplied by calling function, should always be present when using the main lint function.)

Index the word starts at

Index the word ends at

Trait Implementations

impl Debug for Hint
[src]

Formats the value using the given formatter.

impl PartialEq for Hint
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Hint
[src]

impl Clone for Hint
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for Hint
[src]

Formats the value using the given formatter. Read more