Struct wasm_pack::manifest::CargoWasmPackProfile
source · [−]pub struct CargoWasmPackProfile { /* private fields */ }
Expand description
This is where configuration goes for wasm-bindgen, wasm-opt, wasm-snip, or anything else that wasm-pack runs.
Implementations
sourceimpl CargoWasmPackProfile
impl CargoWasmPackProfile
sourcepub fn wasm_bindgen_debug_js_glue(&self) -> bool
pub fn wasm_bindgen_debug_js_glue(&self) -> bool
Get this profile’s configured [wasm-bindgen.debug-js-glue]
value.
sourcepub fn wasm_bindgen_demangle_name_section(&self) -> bool
pub fn wasm_bindgen_demangle_name_section(&self) -> bool
Get this profile’s configured [wasm-bindgen.demangle-name-section]
value.
sourcepub fn wasm_bindgen_dwarf_debug_info(&self) -> bool
pub fn wasm_bindgen_dwarf_debug_info(&self) -> bool
Get this profile’s configured [wasm-bindgen.dwarf-debug-info]
value.
sourcepub fn wasm_opt_args(&self) -> Option<Vec<String>>
pub fn wasm_opt_args(&self) -> Option<Vec<String>>
Get this profile’s configured arguments for wasm-opt
, if enabled.
Trait Implementations
sourceimpl Default for CargoWasmPackProfile
impl Default for CargoWasmPackProfile
sourcefn default() -> CargoWasmPackProfile
fn default() -> CargoWasmPackProfile
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for CargoWasmPackProfile
impl<'de> Deserialize<'de> for CargoWasmPackProfile
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for CargoWasmPackProfile
impl Send for CargoWasmPackProfile
impl Sync for CargoWasmPackProfile
impl Unpin for CargoWasmPackProfile
impl UnwindSafe for CargoWasmPackProfile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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