Enum string_cache_shared::UnpackedAtom [] [src]

pub enum UnpackedAtom {
    Dynamic(*mut ()),
    Inline(u8[u8; 7]),
    Static(u32),
}

Variants

Dynamic(*mut ())

Pointer to a dynamic table entry. Must be 16-byte aligned!

Inline(u8[u8; 7])

Length + bytes of string.

Static(u32)

Index in static interning table.

Methods

impl UnpackedAtom
[src]

unsafe fn pack(self) -> u64

unsafe fn from_packed(data: u64) -> UnpackedAtom