Struct swc_ecma_minifier::option::MinifyOptions
source · [−]pub struct MinifyOptions {
pub rename: bool,
pub compress: Option<CompressOptions>,
pub mangle: Option<MangleOptions>,
pub wrap: bool,
pub enclose: bool,
}
Fields
rename: bool
compress: Option<CompressOptions>
mangle: Option<MangleOptions>
wrap: bool
enclose: 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 MinifyOptions
impl Send for MinifyOptions
impl Sync for MinifyOptions
impl Unpin for MinifyOptions
impl UnwindSafe for MinifyOptions
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