Struct wasmer_types::target::UserCompilerOptimizations
source · pub struct UserCompilerOptimizations {
pub pass_params: Option<bool>,
}
Expand description
User-suggested optimization that might be operated on the module when (and if) compiled.
Fields§
§pass_params: Option<bool>
Suggest the pass_params
(also known as g0m0) optimization pass.
Trait Implementations§
source§impl Clone for UserCompilerOptimizations
impl Clone for UserCompilerOptimizations
source§fn clone(&self) -> UserCompilerOptimizations
fn clone(&self) -> UserCompilerOptimizations
Returns a copy 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 UserCompilerOptimizations
impl Debug for UserCompilerOptimizations
source§impl Default for UserCompilerOptimizations
impl Default for UserCompilerOptimizations
source§fn default() -> UserCompilerOptimizations
fn default() -> UserCompilerOptimizations
Returns the “default value” for a type. Read more
source§impl PartialEq for UserCompilerOptimizations
impl PartialEq for UserCompilerOptimizations
source§fn eq(&self, other: &UserCompilerOptimizations) -> bool
fn eq(&self, other: &UserCompilerOptimizations) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UserCompilerOptimizations
impl StructuralPartialEq for UserCompilerOptimizations
Auto Trait Implementations§
impl Freeze for UserCompilerOptimizations
impl RefUnwindSafe for UserCompilerOptimizations
impl Send for UserCompilerOptimizations
impl Sync for UserCompilerOptimizations
impl Unpin for UserCompilerOptimizations
impl UnwindSafe for UserCompilerOptimizations
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.