Struct webidl::LexicalError [] [src]

pub struct LexicalError {
    pub code: LexicalErrorCode,
    pub location: usize,
}

The error that is returned when an error occurs during lexing.

Fields

The code that is used to distinguish different types of errors.

The location offset from the beginning of the input string given to the lexer.

Trait Implementations

impl Clone for LexicalError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Copy for LexicalError
[src]

impl Debug for LexicalError
[src]

[src]

Formats the value using the given formatter.

impl Eq for LexicalError
[src]

impl Hash for LexicalError
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialEq for LexicalError
[src]

[src]

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

[src]

This method tests for !=.

impl Display for LexicalError
[src]

[src]

Formats the value using the given formatter. Read more

impl Error for LexicalError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

The lower-level cause of this error, if any. Read more