Struct wasm_bindgen_cli_support::Bindgen
source · pub struct Bindgen { /* private fields */ }
Implementations
sourceimpl Bindgen
impl Bindgen
pub fn new() -> Bindgen
pub fn input_path<P: AsRef<Path>>(&mut self, path: P) -> &mut Bindgen
sourcepub fn input_module(&mut self, name: &str, module: Module) -> &mut Bindgen
pub fn input_module(&mut self, name: &str, module: Module) -> &mut Bindgen
Explicitly specify the already parsed input module.
pub fn nodejs(&mut self, node: bool) -> &mut Bindgen
pub fn nodejs_experimental_modules(&mut self, node: bool) -> &mut Bindgen
pub fn browser(&mut self, browser: bool) -> &mut Bindgen
pub fn no_modules(&mut self, no_modules: bool) -> &mut Bindgen
pub fn no_modules_global(&mut self, name: &str) -> &mut Bindgen
pub fn debug(&mut self, debug: bool) -> &mut Bindgen
pub fn typescript(&mut self, typescript: bool) -> &mut Bindgen
pub fn demangle(&mut self, demangle: bool) -> &mut Bindgen
pub fn keep_debug(&mut self, keep_debug: bool) -> &mut Bindgen
pub fn remove_name_section(&mut self, remove: bool) -> &mut Bindgen
pub fn generate<P: AsRef<Path>>(&mut self, path: P) -> Result<(), Error>
Auto Trait Implementations
impl RefUnwindSafe for Bindgen
impl Send for Bindgen
impl Sync for Bindgen
impl Unpin for Bindgen
impl UnwindSafe for Bindgen
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more