pub struct DefaultSourceMapGenConfig;
Trait Implementations§
Source§impl Clone for DefaultSourceMapGenConfig
impl Clone for DefaultSourceMapGenConfig
Source§fn clone(&self) -> DefaultSourceMapGenConfig
fn clone(&self) -> DefaultSourceMapGenConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DefaultSourceMapGenConfig
impl Debug for DefaultSourceMapGenConfig
Source§impl SourceMapGenConfig for DefaultSourceMapGenConfig
impl SourceMapGenConfig for DefaultSourceMapGenConfig
Source§fn name_for_bytepos(&self, _bpos: BytePos) -> Option<&str>
fn name_for_bytepos(&self, _bpos: BytePos) -> Option<&str>
Returns identifier starting at
bpos
. Read moreSource§fn inline_sources_content(&self, f: &FileName) -> bool
fn inline_sources_content(&self, f: &FileName) -> bool
You can override this to control
sourceContents
.Source§fn emit_columns(&self, _f: &FileName) -> bool
fn emit_columns(&self, _f: &FileName) -> bool
You can define whether to emit sourcemap with columns or not
fn skip(&self, _f: &FileName) -> bool
Auto Trait Implementations§
impl Freeze for DefaultSourceMapGenConfig
impl RefUnwindSafe for DefaultSourceMapGenConfig
impl Send for DefaultSourceMapGenConfig
impl Sync for DefaultSourceMapGenConfig
impl Unpin for DefaultSourceMapGenConfig
impl UnwindSafe for DefaultSourceMapGenConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more