mirror of
https://github.com/servo/servo
synced 2026-05-11 09:26:59 +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.