Struct swc_common::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
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
Converts some archived metadata to the pointer metadata for itself.
Mutably borrows from an owned value. Read more
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
impl<F, W, T, D> Deserialize<With<T, W>, D> for F where
W: DeserializeWith<F, T, D>,
D: Fallible + ?Sized,
F: ?Sized,
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