mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01: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. |
||
---|---|---|
.. | ||
Cargo.toml | ||
lib.rs | ||
size_of.rs |