pub struct WasmFeatures { /* private fields */ }
Expand description
Enabled WebAssembly proposals and features.
This is the disabled zero-size version of this structure because the
features
feature was disabled at compile time of this crate.
Implementations§
Source§impl WasmFeatures
impl WasmFeatures
Sourcepub fn mutable_global(&self) -> bool
pub fn mutable_global(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn saturating_float_to_int(&self) -> bool
pub fn saturating_float_to_int(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn sign_extension(&self) -> bool
pub fn sign_extension(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn reference_types(&self) -> bool
pub fn reference_types(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn multi_value(&self) -> bool
pub fn multi_value(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn bulk_memory(&self) -> bool
pub fn bulk_memory(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn relaxed_simd(&self) -> bool
pub fn relaxed_simd(&self) -> bool
Returns whether this feature is enabled in this feature set.
Returns whether this feature is enabled in this feature set.
Sourcepub fn multi_memory(&self) -> bool
pub fn multi_memory(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn exceptions(&self) -> bool
pub fn exceptions(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn extended_const(&self) -> bool
pub fn extended_const(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn component_model(&self) -> bool
pub fn component_model(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn function_references(&self) -> bool
pub fn function_references(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn memory_control(&self) -> bool
pub fn memory_control(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn custom_page_sizes(&self) -> bool
pub fn custom_page_sizes(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn component_model_values(&self) -> bool
pub fn component_model_values(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn component_model_nested_names(&self) -> bool
pub fn component_model_nested_names(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn component_model_more_flags(&self) -> bool
pub fn component_model_more_flags(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn component_model_multiple_returns(&self) -> bool
pub fn component_model_multiple_returns(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn legacy_exceptions(&self) -> bool
pub fn legacy_exceptions(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn stack_switching(&self) -> bool
pub fn stack_switching(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn wide_arithmetic(&self) -> bool
pub fn wide_arithmetic(&self) -> bool
Returns whether this feature is enabled in this feature set.
Sourcepub fn component_model_async(&self) -> bool
pub fn component_model_async(&self) -> bool
Returns whether this feature is enabled in this feature set.
Trait Implementations§
Source§impl Clone for WasmFeatures
impl Clone for WasmFeatures
Source§fn clone(&self) -> WasmFeatures
fn clone(&self) -> WasmFeatures
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more