pub enum MappingsOptionHires {
Bool(bool),
Boundary,
}Expand description
Whether the mapping should be high-resolution.
Hi-res mappings map every single character, meaning (for example) your devtools will always
be able to pinpoint the exact location of function calls and so on.
With lo-res mappings, devtools may only be able to identify the correct
line - but they’re quicker to generate and less bulky.
You can also set "boundary" to generate a semi-hi-res mappings segmented per word boundary
instead of per character, suitable for string semantics that are separated by words.
If sourcemap locations have been specified with s.addSourceMapLocation(), they will be used here.
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for MappingsOptionHires
impl Send for MappingsOptionHires
impl Sync for MappingsOptionHires
impl Unpin for MappingsOptionHires
impl UnwindSafe for MappingsOptionHires
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