Struct wasmparser::WasmFeatures
source · 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.
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 moresource§impl Debug for WasmFeatures
impl Debug for WasmFeatures
source§impl Default for WasmFeatures
impl Default for WasmFeatures
source§fn default() -> WasmFeatures
fn default() -> WasmFeatures
source§impl Hash for WasmFeatures
impl Hash for WasmFeatures
impl Copy for WasmFeatures
Auto Trait Implementations§
impl Freeze for WasmFeatures
impl RefUnwindSafe for WasmFeatures
impl Send for WasmFeatures
impl Sync for WasmFeatures
impl Unpin for WasmFeatures
impl UnwindSafe for WasmFeatures
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)