[][src]Struct wasm_bindgen_cli_support::Bindgen

pub struct Bindgen { /* fields omitted */ }

Methods

impl Bindgen[src]

pub fn new() -> Bindgen[src]

pub fn input_path<P: AsRef<Path>>(&mut self, path: P) -> &mut Bindgen[src]

pub fn out_name(&mut self, name: &str) -> &mut Bindgen[src]

pub fn input_module(&mut self, name: &str, module: Module) -> &mut Bindgen[src]

Explicitly specify the already parsed input module.

pub fn nodejs(&mut self, node: bool) -> &mut Bindgen[src]

pub fn nodejs_experimental_modules(&mut self, node: bool) -> &mut Bindgen[src]

pub fn browser(&mut self, browser: bool) -> &mut Bindgen[src]

pub fn no_modules(&mut self, no_modules: bool) -> &mut Bindgen[src]

pub fn no_modules_global(&mut self, name: &str) -> &mut Bindgen[src]

pub fn debug(&mut self, debug: bool) -> &mut Bindgen[src]

pub fn typescript(&mut self, typescript: bool) -> &mut Bindgen[src]

pub fn demangle(&mut self, demangle: bool) -> &mut Bindgen[src]

pub fn keep_debug(&mut self, keep_debug: bool) -> &mut Bindgen[src]

pub fn remove_name_section(&mut self, remove: bool) -> &mut Bindgen[src]

pub fn emit_start(&mut self, emit: bool) -> &mut Bindgen[src]

pub fn generate<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Error>[src]

Auto Trait Implementations

impl Send for Bindgen

impl Sync for Bindgen

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = !

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

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.

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