Struct dimacs::Loc [] [src]

pub struct Loc { /* fields omitted */ }

Represents a source line and column of an error. Used to provide the user of this parser facility with necesary information to debug their input files formats.

Methods

impl Loc
[src]

Creates a new location with a given line and column.

Bumps the line of this location, resetting its column.

Bumps the column of this location.

Trait Implementations

impl Debug for Loc
[src]

Formats the value using the given formatter.

impl Copy for Loc
[src]

impl Clone for Loc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Loc
[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 Loc
[src]