Struct swc_common::source_map::LocWithOpt [−][src]
pub struct LocWithOpt {
pub filename: FileName,
pub line: usize,
pub col: CharPos,
pub file: Option<Lrc<SourceFile>>,
}
Expand description
A source code location used as the result of lookup_char_pos_adj
Fields
filename: FileName
line: usize
col: CharPos
file: Option<Lrc<SourceFile>>
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for LocWithOpt
impl !Send for LocWithOpt
impl !Sync for LocWithOpt
impl Unpin for LocWithOpt
impl !UnwindSafe for LocWithOpt
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more