- Published on
Wide Rust pointers carry typed metadata: element count for slices, byte length for str, and DynMetadata for trait objects. The nightly ptr_metadata API inspects this without assuming a two-usize layout.
Investigation · Part 2 of 3 · Async Rust under the hood