Struct syntex_syntax::codemap::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
line
col
file

Trait Implementations

Derived Implementations

impl Debug for LocWithOpt
[src]

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

Formats the value using the given formatter.