Struct wasmparser::WasmFeatures [−][src]
pub struct WasmFeatures {
pub reference_types: bool,
pub module_linking: bool,
pub simd: bool,
pub multi_value: bool,
pub threads: bool,
pub tail_call: bool,
pub bulk_memory: bool,
pub deterministic_only: bool,
pub multi_memory: bool,
pub exceptions: bool,
pub memory64: bool,
}Flags for features that are enabled for validation.
Fields
reference_types: boolThe WebAssembly reference types proposal
module_linking: boolThe WebAssembly module linking proposal
simd: boolThe WebAssembly SIMD proposal
multi_value: boolThe WebAssembly multi-value proposal (enabled by default)
threads: boolThe WebAssembly threads proposal
tail_call: boolThe WebAssembly tail-call proposal
bulk_memory: boolThe WebAssembly bulk memory operations proposal
deterministic_only: boolWhether or not only deterministic instructions are allowed
multi_memory: boolThe WebAssembly multi memory proposal
exceptions: boolThe WebAssembly exception handling proposal
memory64: boolThe WebAssembly memory64 proposal
Trait Implementations
impl Clone for WasmFeatures[src]
impl Clone for WasmFeatures[src]fn clone(&self) -> WasmFeatures[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Default for WasmFeatures[src]
impl Default for WasmFeatures[src]fn default() -> WasmFeatures[src]
impl Hash for WasmFeatures[src]
impl Hash for WasmFeatures[src]