Struct swc_ecma_transforms::hygiene::Config
source · pub struct Config {
pub keep_class_names: bool,
pub safari_10: bool,
pub top_level_mark: Mark,
pub ignore_eval: bool,
}
Fields§
§keep_class_names: bool
If true, the hygiene
pass will preserve class names.
safari_10: bool
If true, the bug of safari 10 is avoided.
top_level_mark: Mark
The marks derived from this marks will treated as specified by user
and other marks will be treated as generated by swc
.
ignore_eval: bool
Mangle even if vars are visible to eval
or with
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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