Expand description
Fat pointer handling.
This assumes the memory representation of fat pointers. Although it is not guaranteed by Rust, it’s improbable that it will change. Still, when the pointer metadata APIs are stable, we should definitely move to them: https://github.com/rust-lang/rust/issues/81513
Functions§
- Create a fat pointer from a data address and a vtable address.
- Create a mutable fat pointer from a data address and a vtable address.
- Extract the address to a trait object’s vtable.