mirror of
https://github.com/servo/servo
synced 2026-05-10 17:12:23 +02:00
Casting `*const T` to `*const U` with `U: Sized` is allowed even if `T: ?Sized`. This safely extracts the data pointer out of a trait object, without relying on the memory representation of trait objects.