2 ms·
> the internal representation of a vtable is now guaranteed to have its supertraits laid out in some predictable prefix form to its own methods. Importantly, n
by kibwen 2y ago
> the internal representation of a vtable is now guaranteed to have its supertraits laid out in some predictable prefix form to its own methods.
Importantly, note that the specifics of the vtable layout are not guaranteed, only the general property that the layout must be amenable to supporting this.
- the_mitsuhiko 2y agoAnd for extra context the RFC lays out the current design and future options: https://github.com/rust-lang/rfcs/blob/master/text/3324-dyn-upcasting.md https://github.com/rust-lang/rfcs/blob/master/text/3324-dyn-...