struct · System

UInt8

public struct System.UInt8 : System.INumber<u8>, System.IHashable<u8>, System.IComparable<u8>, System.IToString
Tipo
struct
Espacio de nombres
System
Ensamblado
System.Core
Acceso
public, miembros de u8
Archivo fuente
Primitives.ant

Herencia

Interfaces
INumber<TSelf> IHashable<TSelf> IComparable<TSelf> IToString

Propiedades

static property Zero: u8
#

static read-only

static property One: u8
#

static read-only

Métodos

static method FromF64(value: f64) -> u8
#

static

static method ToF64(value: u8) -> f64
#

static

method ToString(format: System.String<u8>) -> System.String<u8>
#

As text by a format: D, X, B, N, F, E, P, G and a precision (255.ToString("X4") is "00FF").

method ToString() -> System.String<u8>
#
method Hash() -> u64
#
method Equals(other: u8) -> bool
#
method CompareTo(other: u8) -> i32
#

Constantes

static constant MinValue: u8
#

The smallest u8.

static constant MaxValue: u8
#

The largest u8.

Código fuente

UInt8 en Larva HIR, descompilado a partir de su Larva HIR.

System.UInt8.hir
public struct System.UInt8 : System.INumber<u8>, System.IHashable<u8>, System.IComparable<u8>, System.IToString
{
    // The smallest u8.
    static constant MinValue: u8
    // The largest u8.
    static constant MaxValue: u8
    static method FromF64(value: f64) -> u8
    static method ToF64(value: u8) -> f64
    // As text by a format: D, X, B, N, F, E, P, G and a precision (`255.ToString("X4")` is "00FF").
    method ToString(format: System.String<u8>) -> System.String<u8>
    method ToString() -> System.String<u8>
    method Hash() -> u64
    method Equals(other: u8) -> bool
    method CompareTo(other: u8) -> i32
    static property Zero: u8
    static property One: u8
}
Esc