Struct syntax::codemap::LocWithOpt [] [src]

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

A source code location used as the result of lookup_char_pos_adj

Fields

filename: FileName
Unstable (rustc_private)
line: usize
Unstable (rustc_private)
col: CharPos
Unstable (rustc_private)
file: Option<Rc<FileMap>>
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Debug for LocWithOpt
[src]

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

Formats the value using the given formatter.