pub struct CompileConfig {
pub target: WasmTarget,
pub opt_level: OptLevel,
}Expand description
Configuration for WASM compilation.
Fields§
§target: WasmTargetTarget triple.
opt_level: OptLevelOptimization level.
Trait Implementations§
Source§impl Clone for CompileConfig
impl Clone for CompileConfig
Source§fn clone(&self) -> CompileConfig
fn clone(&self) -> CompileConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompileConfig
impl Debug for CompileConfig
Source§impl Default for CompileConfig
impl Default for CompileConfig
Source§fn default() -> CompileConfig
fn default() -> CompileConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CompileConfig
impl RefUnwindSafe for CompileConfig
impl Send for CompileConfig
impl Sync for CompileConfig
impl Unpin for CompileConfig
impl UnsafeUnpin for CompileConfig
impl UnwindSafe for CompileConfig
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