WasmFeatures class
Constructors
- WasmFeatures({required bool mutableGlobal, required bool saturatingFloatToInt, required bool signExtension, required bool referenceTypes, required bool multiValue, required bool bulkMemory, required bool simd, required bool relaxedSimd, required bool threads, required bool tailCall, required bool floats, required bool multiMemory, required bool exceptions, required bool memory64, required bool extendedConst, required bool componentModel, required bool memoryControl, required bool garbageCollection, required bool typeReflection, WasmWasiFeatures? wasiFeatures})
-
const
Properties
- bulkMemory → bool
-
The WebAssembly bulk memory operations proposal (enabled by default)
final
- componentModel → bool
-
The WebAssembly component model proposal
final
- exceptions → bool
-
The WebAssembly exception handling proposal
final
- extendedConst → bool
-
The WebAssembly extended_const proposal
final
- floats → bool
-
Whether or not floating-point instructions are enabled.
final
- garbageCollection → bool
-
The WebAssembly garbage collection (GC) proposal
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- memory64 → bool
-
The WebAssembly memory64 proposal
final
- memoryControl → bool
-
The WebAssembly memory control proposal
final
- multiMemory → bool
-
The WebAssembly multi memory proposal
final
- multiValue → bool
-
The WebAssembly multi-value proposal (enabled by default)
final
- mutableGlobal → bool
-
The WebAssembly
mutable-global
proposal (enabled by default)final - referenceTypes → bool
-
The WebAssembly reference types proposal (enabled by default)
final
- relaxedSimd → bool
-
The WebAssembly Relaxed SIMD proposal
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- saturatingFloatToInt → bool
-
The WebAssembly
nontrapping-float-to-int-conversions
proposal (enabled by default)final - signExtension → bool
-
The WebAssembly
sign-extension-ops
proposal (enabled by default)final - simd → bool
-
The WebAssembly SIMD proposal
final
- tailCall → bool
-
The WebAssembly tail-call proposal
final
- threads → bool
-
The WebAssembly threads proposal, shared memory and atomics
https://docs.rs/wasmtime/14.0.4/wasmtime/struct.Config.html#method.wasm_threads
final
- typeReflection → bool
-
WebAssembly external types reflection or, for browsers,
the js-types proposal (https://github.com/WebAssembly/js-types/blob/main/proposals/js-types/Overview.md)
final
- wasiFeatures → WasmWasiFeatures?
-
The WebAssembly System Interface proposal
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited