Struct swc_common::source_map::LocWithOpt
source · [−]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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more