Struct wasm_opt_cxx_sys::wasm::PassOptions
source · #[repr(C)]pub struct PassOptions { /* private fields */ }
Implementations§
source§impl PassOptions
impl PassOptions
pub fn setValidate(self: Pin<&mut Self>, validate: bool)
source§impl PassOptions
impl PassOptions
pub fn setValidateGlobally(self: Pin<&mut Self>, validate: bool)
source§impl PassOptions
impl PassOptions
pub fn setOptimizeLevel(self: Pin<&mut Self>, level: i32)
source§impl PassOptions
impl PassOptions
pub fn setShrinkLevel(self: Pin<&mut Self>, level: i32)
source§impl PassOptions
impl PassOptions
pub fn setInliningOptions( self: Pin<&mut Self>, inlining: UniquePtr<InliningOptions> )
source§impl PassOptions
impl PassOptions
pub fn setTrapsNeverHappen(self: Pin<&mut Self>, ignoreTraps: bool)
source§impl PassOptions
impl PassOptions
pub fn setLowMemoryUnused(self: Pin<&mut Self>, memoryUnused: bool)
source§impl PassOptions
impl PassOptions
pub fn setFastMath(self: Pin<&mut Self>, fastMath: bool)
source§impl PassOptions
impl PassOptions
pub fn setZeroFilledMemory(self: Pin<&mut Self>, zeroFilledMemory: bool)
source§impl PassOptions
impl PassOptions
pub fn setDebugInfo(self: Pin<&mut Self>, debugInfo: bool)
Trait Implementations§
source§impl ExternType for PassOptions
impl ExternType for PassOptions
impl UniquePtrTarget for PassOptions
Auto Trait Implementations§
impl RefUnwindSafe for PassOptions
impl !Send for PassOptions
impl !Sync for PassOptions
impl !Unpin for PassOptions
impl UnwindSafe for PassOptions
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