Enum pest::error::InputLocation[][src]

pub enum InputLocation {
    Pos(usize),
    Span((usize, usize)),
}

Where an Error has occurred.

Variants

Error was created by Error::new_from_pos

Error was created by Error::new_from_span

Trait Implementations

impl Clone for InputLocation
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for InputLocation
[src]

Formats the value using the given formatter. Read more

impl Eq for InputLocation
[src]

impl Hash for InputLocation
[src]

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

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

impl PartialEq for InputLocation
[src]

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

This method tests for !=.

Auto Trait Implementations