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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

Apply overrides from from

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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