Struct syntex_pos::Loc [] [src]

pub struct Loc {
    pub file: Rc<FileMap>,
    pub line: usize,
    pub col: CharPos,
}

A source code location used for error reporting

Fields

Information about the original source

The (1-based) line number

The (0-based) column offset

Trait Implementations

impl Debug for Loc
[src]

Formats the value using the given formatter.

impl Clone for Loc
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more