Struct xtask_wasm::WasmOpt
source · pub struct WasmOpt {
pub optimization_level: u32,
pub shrink_level: u32,
pub debug_info: bool,
}Available on crate feature
wasm-opt only.Expand description
Fields§
§optimization_level: u32How much to focus on optimizing code.
shrink_level: u32How much to focus on shrinking code size.
debug_info: boolEmit names section in Wasm binary.
Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for WasmOpt
impl Send for WasmOpt
impl Sync for WasmOpt
impl Unpin for WasmOpt
impl UnwindSafe for WasmOpt
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more