[][src]Module tagged_box::discriminant

Stores variables that change upon different reserved pointer widths, as set by features

Constants

DISCRIMINANT_MASK

A mask to remove the upper free bits of a tagged pointer, which for the 48bits feature is usize::MAX >> 16

MAX_DISCRIMINANT

The maximum allowed value of a discriminant, which for the 48bits feature is 65535

MAX_POINTER_VALUE

The maximum allowed value of a pointer, which for the 48bits feature is 2 ^ 48

POINTER_WIDTH

The reserved width of a pointer, which for the 48bits feature is 48 bits

Type Definitions

Discriminant

A discriminant stored in a TaggedPointer, represented by a u16 for the 48bits feature