Struct swc::config::BuiltConfig[][src]

pub struct BuiltConfig<P: Fold> {
    pub pass: P,
    pub syntax: Syntax,
    pub target: JscTarget,
    pub minify: bool,
    pub external_helpers: bool,
    pub source_maps: SourceMapsConfig,
    pub input_source_map: InputSourceMap,
    pub is_module: bool,
    pub output_path: Option<PathBuf>,
}

One BuiltConfig per a directory with swcrc

Fields

pass: Psyntax: Syntaxtarget: JscTargetminify: boolexternal_helpers: boolsource_maps: SourceMapsConfiginput_source_map: InputSourceMapis_module: booloutput_path: Option<PathBuf>

Auto Trait Implementations

impl<P> RefUnwindSafe for BuiltConfig<P> where
    P: RefUnwindSafe

impl<P> Send for BuiltConfig<P> where
    P: Send

impl<P> Sync for BuiltConfig<P> where
    P: Sync

impl<P> Unpin for BuiltConfig<P> where
    P: Unpin

impl<P> UnwindSafe for BuiltConfig<P> where
    P: UnwindSafe

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> 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, 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.