Struct swc::config::JsMinifyFormatOptions [−][src]
pub struct JsMinifyFormatOptions {Show 21 fields
pub ascii_only: bool,
pub beautify: bool,
pub braces: bool,
pub comments: BoolOrObject<JsMinifyCommentOption>,
pub ecma: usize,
pub indent_level: usize,
pub indent_start: bool,
pub inline_script: bool,
pub keep_numbers: bool,
pub keep_quoted_props: bool,
pub max_line_len: BoolOrObject<usize>,
pub preamble: String,
pub quote_keys: bool,
pub quote_style: usize,
pub preserve_annotations: bool,
pub safari10: bool,
pub semicolons: bool,
pub shebang: bool,
pub webkit: bool,
pub wrap_iife: bool,
pub wrap_func_args: bool,
}
Expand description
jsc.minify.format
.
Fields
ascii_only: bool
Not implemented yet.
beautify: bool
Not implemented yet.
braces: bool
Not implemented yet.
comments: BoolOrObject<JsMinifyCommentOption>
ecma: usize
Not implemented yet.
indent_level: usize
Not implemented yet.
indent_start: bool
Not implemented yet.
inline_script: bool
Not implemented yet.
keep_numbers: bool
Not implemented yet.
keep_quoted_props: bool
Not implemented yet.
max_line_len: BoolOrObject<usize>
Not implemented yet.
preamble: String
Not implemented yet.
quote_keys: bool
Not implemented yet.
quote_style: usize
Not implemented yet.
preserve_annotations: bool
Not implemented yet.
safari10: bool
Not implemented yet.
semicolons: bool
Not implemented yet.
shebang: bool
Not implemented yet.
webkit: bool
Not implemented yet.
wrap_iife: bool
Not implemented yet.
wrap_func_args: bool
Not implemented yet.
Trait Implementations
Returns the “default value” for a type. Read more
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 JsMinifyFormatOptions
impl Send for JsMinifyFormatOptions
impl Sync for JsMinifyFormatOptions
impl Unpin for JsMinifyFormatOptions
impl UnwindSafe for JsMinifyFormatOptions
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