Struct wasmparser::WasmFeatures [−][src]
pub struct WasmFeatures {
pub reference_types: bool,
pub multi_value: bool,
pub bulk_memory: bool,
pub module_linking: bool,
pub simd: bool,
pub threads: bool,
pub tail_call: bool,
pub deterministic_only: bool,
pub multi_memory: bool,
pub exceptions: bool,
pub memory64: bool,
}Expand description
Flags for features that are enabled for validation.
Fields
reference_types: boolThe WebAssembly reference types proposal (enabled by default)
multi_value: boolThe WebAssembly multi-value proposal (enabled by default)
bulk_memory: boolThe WebAssembly bulk memory operations proposal (enabled by default)
module_linking: boolThe WebAssembly module linking proposal
simd: boolThe WebAssembly SIMD proposal
threads: boolThe WebAssembly threads proposal
tail_call: boolThe WebAssembly tail-call 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
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for WasmFeatures
impl Send for WasmFeatures
impl Sync for WasmFeatures
impl Unpin for WasmFeatures
impl UnwindSafe for WasmFeatures
Blanket Implementations
Mutably borrows from an owned value. Read more