Struct swc_ecma_minifier::option::MangleOptions
source · [−]pub struct MangleOptions {
pub props: Option<ManglePropertiesOptions>,
pub top_level: bool,
pub keep_class_names: bool,
pub keep_fn_names: bool,
pub keep_private_props: bool,
pub ie8: bool,
pub safari10: bool,
}
Fields
props: Option<ManglePropertiesOptions>
top_level: bool
keep_class_names: bool
keep_fn_names: bool
keep_private_props: bool
ie8: bool
safari10: bool
Trait Implementations
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 RefUnwindSafe for MangleOptions
impl Send for MangleOptions
impl Sync for MangleOptions
impl Unpin for MangleOptions
impl UnwindSafe for MangleOptions
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more