Struct wasm_bindgen_cli_support::Bindgen
source · pub struct Bindgen { /* private fields */ }Implementations§
source§impl Bindgen
impl Bindgen
pub fn new() -> Bindgen
pub fn input_path<P: AsRef<Path>>(&mut self, path: P) -> &mut Bindgen
pub fn out_name(&mut self, name: &str) -> &mut Bindgen
pub fn weak_refs(&mut self, enable: bool) -> &mut Bindgen
pub fn reference_types(&mut self, enable: bool) -> &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.
sourcepub fn input_bytes(&mut self, name: &str, bytes: Vec<u8>) -> &mut Bindgen
pub fn input_bytes(&mut self, name: &str, bytes: Vec<u8>) -> &mut Bindgen
Specify the input as the provided Wasm bytes.