pub type StorageHint = SlotKind;Expand description
Backwards-compatible alias. Prefer SlotKind in new code.
Aliased Type§
pub enum StorageHint {
Show 26 variants
Float64,
NullableFloat64,
Int8,
NullableInt8,
UInt8,
NullableUInt8,
Int16,
NullableInt16,
UInt16,
NullableUInt16,
Int32,
NullableInt32,
UInt32,
NullableUInt32,
Int64,
NullableInt64,
UInt64,
NullableUInt64,
IntSize,
NullableIntSize,
UIntSize,
NullableUIntSize,
Bool,
String,
NanBoxed,
Unknown,
}Variants§
Float64
Plain f64 value (direct float operations)
NullableFloat64
Nullable f64 using NaN sentinel (Option
Int8
Plain i8 value
NullableInt8
Nullable i8 value
UInt8
Plain u8 value
NullableUInt8
Nullable u8 value
Int16
Plain i16 value
NullableInt16
Nullable i16 value
UInt16
Plain u16 value
NullableUInt16
Nullable u16 value
Int32
Plain i32 value
NullableInt32
Nullable i32 value
UInt32
Plain u32 value
NullableUInt32
Nullable u32 value
Int64
Plain i64 value
NullableInt64
Nullable i64 value
UInt64
Plain u64 value
NullableUInt64
Nullable u64 value
IntSize
Plain isize value
NullableIntSize
Nullable isize value
UIntSize
Plain usize value
NullableUIntSize
Nullable usize value
Bool
Boolean value
String
String reference
NanBoxed
NaN-boxed value: the raw u64 bits are a valid NaN-boxed interpreter value. Used for boxed locals and operand stack entries in precise deopt metadata. The VM unmarshals these via direct transmute (zero-cost passthrough).
Unknown
Type not determined at compile time (falls back to NaN-boxed dispatch). Should NOT appear in precise deopt metadata — use NanBoxed instead. Reserved for truly uninitialized/unresolved slots.