[−][src]Struct wasm_bindgen_cli_support::Bindgen
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) -> Result<&mut Bindgen, Error>
[src]
pub fn nodejs_experimental_modules(
&mut self,
node: bool
) -> Result<&mut Bindgen, Error>
[src]
&mut self,
node: bool
) -> Result<&mut Bindgen, Error>
pub fn bundler(&mut self, bundler: bool) -> Result<&mut Bindgen, Error>
[src]
pub fn web(&mut self, web: bool) -> Result<&mut Bindgen, Error>
[src]
pub fn no_modules(&mut self, no_modules: bool) -> Result<&mut Bindgen, Error>
[src]
pub fn browser(&mut self, browser: bool) -> Result<&mut Bindgen, Error>
[src]
pub fn no_modules_global(&mut self, name: &str) -> Result<&mut Bindgen, Error>
[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 remove_producers_section(&mut self, remove: bool) -> &mut Bindgen
[src]
pub fn emit_start(&mut self, emit: bool) -> &mut Bindgen
[src]
pub fn encode_into(&mut self, mode: EncodeInto) -> &mut Bindgen
[src]
pub fn generate<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Error>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,