enum

Wasmer::GlobalMutability

Inherits Enum / Comparable / Value / Object

Constants

Immutable = 0_u8

Represents a global that is constant

Mutable = 1_u8

Represents a global that is mutable

Instance methods

immutable?

Returns true if this enum value equals Immutable

Source
mutable?

Returns true if this enum value equals Mutable

Source
to_s(io : IO)

Appends a String representation of this enum member to the given io.

See also: to_s.

Source