WasmGlobalType Class

A global type (https://webassembly.github.io/spec/core/syntax/types.html#global-types).

public sealed class WasmGlobalType : WasmExternType
Inheritance
WasmExternType WasmGlobalType

Constructors

NameDescription
WasmGlobalType(WasmValueType, bool)A global type (https://webassembly.github.io/spec/core/syntax/types.html#global-types).

WasmGlobalType(WasmValueType, bool)

WasmTypes.cs

A global type (https://webassembly.github.io/spec/core/syntax/types.html#global-types).

public WasmGlobalType(WasmValueType valueType, bool mutable)

Parameters

valueType WasmValueType
The type of the value.
mutable bool
Whether the value can be changed.

Properties

NameDescription
KindGets the kind of the type.
MutableGets a value indicating whether the value can be changed.
ValueTypeGets the type of the value.

Gets the kind of the type.

public override WasmExternKind Kind { get; }

Property value

WasmExternKind

Gets a value indicating whether the value can be changed.

public bool Mutable { get; }

Property value

bool

ValueType

WasmTypes.cs

Gets the type of the value.

public WasmValueType ValueType { get; }

Property value

WasmValueType