- 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.
Article · Measurement
Reference · Through the layers
Article · Interrupted execution