← Standard library

Enum

constraint Enum
import Enum from Wax;

Value equality, ordering, hashing, and text operations supplied by enumeration types.

NumericConstraints.wax:83

Members

GetHashCodemethod

public fn GetHashCode() : uint32

Returns a hash consistent with value equality.

NumericConstraints.wax:87

ToStringmethod

public fn ToString() : string

Returns the value's text representation.

NumericConstraints.wax:91

ToStringBuffermethod

public fn ToStringBuffer(StringBuilder builder) : int32

Appends the text representation and returns the number of UTF-8 bytes appended.

NumericConstraints.wax:95

Equalsmethod

public fn Equals(this other) : bool

Tests value equality.

NumericConstraints.wax:99

CompareTomethod

public fn CompareTo(this other) : int32

Returns negative, zero, or positive for less, equal, or greater.

NumericConstraints.wax:103