You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current `RawGd::as_upcast_ref/mut` rely on `mem::transmute` to convert between
`&Gd<T>` and `&Base`. This works as long as Base is an engine-defined class, which
is currently always given.
However, if Rust-Rust inheritance is introduced at some point in the future,
this assumption no longer holds. The new bound ensures soundness in such cases.
0 commit comments