wasmtime_opt_level_enum enum

\brief Different ways Wasmtime can optimize generated code.

The default value is #WASMTIME_OPT_LEVEL_SPEED.

Inheritance
Available extensions

Values

WASMTIME_OPT_LEVEL_NONE → const wasmtime_opt_level_enum

Generated code will not be optimized at all.

const wasmtime_opt_level_enum(0)
WASMTIME_OPT_LEVEL_SPEED → const wasmtime_opt_level_enum

Generated code will be optimized purely for speed.

const wasmtime_opt_level_enum(1)
WASMTIME_OPT_LEVEL_SPEED_AND_SIZE → const wasmtime_opt_level_enum

Generated code will be optimized, but some speed optimizations are disabled if they cause the generated code to be significantly larger.

const wasmtime_opt_level_enum(2)

Properties

hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
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

Static Methods

fromValue(int value) → wasmtime_opt_level_enum

Constants

values → const List<wasmtime_opt_level_enum>
A constant List of the values in this enum, in order of their declaration.