pub fn slot_to_wire(bits: u64, kind: NativeKind, ctx: &Context) -> WireValueExpand description
Project a typed slot’s (bits, kind) to a WireValue.
The kind fully determines the projection — no tag-bit probing.
For NativeKind::Ptr(hk), the function casts bits to
*const HeapValue, debug-asserts the kind matches, and dispatches
per HeapValue arm.