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.


impl Loc

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

Formats the value using the given formatter.

impl Copy for Loc

impl Clone for Loc

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Loc

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