struct · System
Int32
public struct System.Int32 : System.ISignedNumber<i32>, System.IHashable<i32>, System.IComparable<i32>, System.IToString
- Tipo
- struct
- Espacio de nombres
- System
- Ensamblado
- System.Core
- Acceso
- public, miembros de i32
- Archivo fuente
Primitives.ant
Herencia
- Interfaces
-
ISignedNumber<TSelf>IHashable<TSelf>IComparable<TSelf>IToString - Todas las interfaces
-
IComparable<TSelf>IHashable<TSelf>INumber<TSelf>ISignedNumber<TSelf>IToString
Propiedades
Métodos
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>
#
static method Parse(text: System.String<u8>) -> i32
#
static method TryParse(text: System.String<u8>) -> i32?
#
The number text writes, or null when it writes none.
Constantes
Código fuente
Int32 en Larva HIR, descompilado a partir de su Larva HIR.
public struct System.Int32 : System.ISignedNumber<i32>, System.IHashable<i32>, System.IComparable<i32>, System.IToString
{
// The smallest i32.
static constant MinValue: i32
// The largest i32.
static constant MaxValue: i32
static method FromF64(value: f64) -> i32
static method ToF64(value: i32) -> 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: i32) -> bool
method CompareTo(other: i32) -> i32
static method Parse(text: System.String<u8>) -> i32
// The number `text` writes, or null when it writes none.
static method TryParse(text: System.String<u8>) -> i32?
static property Zero: i32
static property One: i32
static property NegativeOne: i32
}