pub struct SourceMapOptions {
pub inline: bool,
pub file: Option<String>,
pub source_root: Option<String>,
pub sources_content: bool,
}Expand description
Source map configuration
Fields§
§inline: boolGenerate inline source maps
file: Option<String>Source map file path
source_root: Option<String>Source root
sources_content: boolInclude sources content
Trait Implementations§
Source§impl Clone for SourceMapOptions
impl Clone for SourceMapOptions
Source§fn clone(&self) -> SourceMapOptions
fn clone(&self) -> SourceMapOptions
Returns a duplicate 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 SourceMapOptions
impl Debug for SourceMapOptions
Source§impl Default for SourceMapOptions
impl Default for SourceMapOptions
Source§impl<'de> Deserialize<'de> for SourceMapOptions
impl<'de> Deserialize<'de> for SourceMapOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SourceMapOptions
impl RefUnwindSafe for SourceMapOptions
impl Send for SourceMapOptions
impl Sync for SourceMapOptions
impl Unpin for SourceMapOptions
impl UnwindSafe for SourceMapOptions
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