Skip to main content

ArenaEntry

Type Alias ArenaEntry 

Source
pub type ArenaEntry = ArenaEntry<AverTypes>;

Aliased Type§

pub enum ArenaEntry {
Show 13 variants Int(i64), BigInt(Box<BigInt>), String(Arc<str>), List(ArenaList), Tuple(Vec<NanValue>), Map(AverMap<u64, (NanValue, NanValue)>), Vector(Vec<NanValue>), Record { type_id: u32, fields: Vec<NanValue>, }, Variant { type_id: u32, variant_id: u16, fields: Vec<NanValue>, }, Fn(Arc<FunctionValue>), Builtin(Arc<str>), Namespace { name: Arc<str>, members: Vec<(Arc<str>, NanValue)>, }, Boxed(NanValue),
}

Variants§

§

Int(i64)

An i64-fitting integer that overflowed the 45-bit inline NaN-box. Also the cheap zero-filler used by the GC during compaction.

§

BigInt(Box<BigInt>)

An integer outside the i64 range (mathematical ℤ overflow slot). Always holds a value not representable as i64, so the runtime’s canonical-form invariant holds across inline / arena-i64 / arena-big.

§

String(Arc<str>)

§

List(ArenaList)

§

Tuple(Vec<NanValue>)

§

Map(AverMap<u64, (NanValue, NanValue)>)

§

Vector(Vec<NanValue>)

§

Record

Fields

§type_id: u32
§fields: Vec<NanValue>
§

Variant

Fields

§type_id: u32
§variant_id: u16
§fields: Vec<NanValue>
§

Fn(Arc<FunctionValue>)

§

Builtin(Arc<str>)

§

Namespace

Fields

§name: Arc<str>
§members: Vec<(Arc<str>, NanValue)>
§

Boxed(NanValue)