Struct ketos::parser::ParseError [] [src]

pub struct ParseError {
    pub span: Span,
    pub kind: ParseErrorKind,
}

Represents an error in parsing input.

Fields

Span of source code which caused the error

Kind of error generated

Methods

impl ParseError
[src]

Creates a new ParseError.

Trait Implementations

impl Copy for ParseError
[src]

impl Clone for ParseError
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ParseError
[src]

Formats the value using the given formatter.

impl Eq for ParseError
[src]

impl PartialEq for ParseError
[src]

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

This method tests for !=.

impl Display for ParseError
[src]

Formats the value using the given formatter. Read more

impl NameDisplay for ParseError
[src]

Writes the value's display representation to the formatter stream.