Struct swc_common::source_map::PartialLoc
source · [−]pub struct PartialLoc {
pub source_file: Option<Lrc<SourceFile>>,
pub line: usize,
pub col: usize,
pub col_display: usize,
}
Expand description
A struct to exchange Loc
with omitting SourceFile as needed.
This is internal struct between plugins to the host, not a public interface.
Fields
source_file: Option<Lrc<SourceFile>>
line: usize
col: usize
col_display: usize
Auto Trait Implementations
impl RefUnwindSafe for PartialLoc
impl Send for PartialLoc
impl Sync for PartialLoc
impl Unpin for PartialLoc
impl UnwindSafe for PartialLoc
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