Struct swc::config::JsMinifyFormatOptions
source · [−]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
sourceimpl Clone for JsMinifyFormatOptions
impl Clone for JsMinifyFormatOptions
sourcefn clone(&self) -> JsMinifyFormatOptions
fn clone(&self) -> JsMinifyFormatOptions
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for JsMinifyFormatOptions
impl Debug for JsMinifyFormatOptions
sourceimpl Default for JsMinifyFormatOptions
impl Default for JsMinifyFormatOptions
sourcefn default() -> JsMinifyFormatOptions
fn default() -> JsMinifyFormatOptions
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for JsMinifyFormatOptions
impl<'de> Deserialize<'de> for JsMinifyFormatOptions
sourcefn 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
sourceimpl Merge for JsMinifyFormatOptions
impl Merge for JsMinifyFormatOptions
sourceimpl Serialize for JsMinifyFormatOptions
impl Serialize for JsMinifyFormatOptions
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more