Show / Hide Table of Contents

Struct Mutability

Represents the mutability of a WebAssembly global value.

Implements
IEquatable<Mutability>
Namespace: Wasmtime
Assembly: Wasmtime.Dotnet.dll
Syntax
public readonly struct Mutability

Fields

| Improve this Doc View Source

Immutable

The global value is immutable (i.e. constant).

Declaration
public static readonly Mutability Immutable
Field Value
Type Description
Mutability
| Improve this Doc View Source

Mutable

The global value is mutable.

Declaration
public static readonly Mutability Mutable
Field Value
Type Description
Mutability

Methods

| Improve this Doc View Source

Equals(Nullable<Object>)

Declaration
public override readonly bool Equals(object? obj)
Parameters
Type Name Description
System.Nullable<System.Object> obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Mutability)

Declaration
public readonly bool Equals(Mutability other)
Parameters
Type Name Description
Mutability other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32

Operators

| Improve this Doc View Source

Equality(Mutability, Mutability)

Compare a to b and return true if they are equal

Declaration
public static bool operator ==(Mutability a, Mutability b)
Parameters
Type Name Description
Mutability a

First item to compare

Mutability b

Second item to compare

Returns
Type Description
System.Boolean
| Improve this Doc View Source

Inequality(Mutability, Mutability)

Compare a to b and return true if they are not equal

Declaration
public static bool operator !=(Mutability a, Mutability b)
Parameters
Type Name Description
Mutability a

First item to compare

Mutability b

Second item to compare

Returns
Type Description
System.Boolean

Implements

IEquatable<>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX