Struct swc::config::JscConfig[][src]

pub struct JscConfig {
    pub syntax: Option<Syntax>,
    pub transform: Option<TransformConfig>,
    pub external_helpers: bool,
    pub target: Option<JscTarget>,
    pub loose: bool,
    pub keep_class_names: bool,
    pub base_url: String,
    pub paths: Paths,
}

Fields

syntax: Option<Syntax>transform: Option<TransformConfig>external_helpers: booltarget: Option<JscTarget>loose: boolkeep_class_names: boolbase_url: Stringpaths: Paths

Trait Implementations

impl Clone for JscConfig[src]

impl Debug for JscConfig[src]

impl Default for JscConfig[src]

impl<'de> Deserialize<'de> for JscConfig[src]

impl Merge for JscConfig[src]

impl Serialize for JscConfig[src]

Auto Trait Implementations

impl RefUnwindSafe for JscConfig

impl Send for JscConfig

impl Sync for JscConfig

impl Unpin for JscConfig

impl UnwindSafe for JscConfig

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Node for T where
    T: Any + ?Sized
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.