Struct syntex_pos::LocWithOpt [] [src]

pub struct LocWithOpt {
    pub filename: FileName,
    pub line: usize,
    pub col: CharPos,
    pub file: Option<Rc<FileMap>>,
}

A source code location used as the result of lookup_char_pos_adj

Fields

filename: FileName line: usize col: CharPos file: Option<Rc<FileMap>>

Trait Implementations

impl Debug for LocWithOpt
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.