[][src]Struct esbuild_rs::TransformOptionsBuilder

pub struct TransformOptionsBuilder {
    pub source_map: SourceMap,
    pub sources_content: SourcesContent,
    pub target: Target,
    pub format: Format,
    pub global_name: String,
    pub engines: Vec<Engine>,
    pub minify_whitespace: bool,
    pub minify_identifiers: bool,
    pub minify_syntax: bool,
    pub charset: Charset,
    pub tree_shaking: TreeShaking,
    pub jsx_factory: String,
    pub jsx_fragment: String,
    pub tsconfig_raw: String,
    pub footer: String,
    pub banner: String,
    pub define: HashMap<String, String>,
    pub pure: Vec<String>,
    pub avoid_tdz: bool,
    pub keep_names: bool,
    pub source_file: String,
    pub loader: Loader,
}

Fields

source_map: SourceMapsources_content: SourcesContenttarget: Targetformat: Formatglobal_name: Stringengines: Vec<Engine>minify_whitespace: boolminify_identifiers: boolminify_syntax: boolcharset: Charsettree_shaking: TreeShakingjsx_factory: Stringjsx_fragment: Stringtsconfig_raw: Stringfooter: Stringbanner: Stringdefine: HashMap<String, String>pure: Vec<String>avoid_tdz: boolkeep_names: boolsource_file: Stringloader: Loader

Implementations

impl TransformOptionsBuilder[src]

Trait Implementations

impl Clone for TransformOptionsBuilder[src]

Auto Trait Implementations

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> From<T> for T[src]

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

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.