Struct Unicode.Rune
Representation of a Unicode character as a code point.
Namespace: Unity.Collections
Assembly: solution.dll
Syntax
public struct Unicode.Rune
Constructors
Name | Description |
---|---|
Rune(int) | Initializes and returns an instance of Rune. |
Fields
Name | Description |
---|---|
value | The code point. |
Methods
Name | Description |
---|---|
Equals(object) | Returns true if the value stored in this Rune is equal to an object. |
GetHashCode() | A hash used for comparisons. |
IsDigit(Rune) | Returns true if a rune is a numerical digit character. |
LengthInUtf8Bytes() | Returns the number of bytes required to encode this rune as UTF-8. |
Operators
Name | Description |
---|---|
operator ==(Rune, Rune) | Evaluates if one is equal to the other. |
implicit operator Rune(char) | Returns a rune. |
operator !=(Rune, Rune) | Evaluates if one is not equal to the other. |