Struct dimacs::ParseError [] [src]

pub struct ParseError {
    pub loc: Loc,
    pub kind: ErrorKind,
}

Represents an error that occured while parsing.

Fields

The source location (line + column) of the error.

The kind of the error that occured.

Methods

impl ParseError
[src]

Creates a new parser error at the given source location with the given error kind.

Trait Implementations

impl Debug for ParseError
[src]

Formats the value using the given formatter.

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 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 Eq for ParseError
[src]