pub struct CollapseSourcemapOptions {
pub inline_content: bool,
pub remap_source: Option<Box<dyn Fn(&str) -> String>>,
}Fields§
§inline_content: boolif true, inline source content to the source map. if the source content does not exist and source filename exists, content will be read from source file from disk.
remap_source: Option<Box<dyn Fn(&str) -> String>>Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CollapseSourcemapOptions
impl !Send for CollapseSourcemapOptions
impl !Sync for CollapseSourcemapOptions
impl Unpin for CollapseSourcemapOptions
impl !UnwindSafe for CollapseSourcemapOptions
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