Unnamed repository; edit this file 'description' to name the repository.
Rollup merge of #152003 - 9SonSteroids:trait_info_of, r=oli-obk
Reflection TypeId::trait_info_of *[View all comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust/pull/152003)* This is for https://github.com/rust-lang/rust/issues/146922. As https://github.com/rust-lang/rust/pull/151236 was requested to be remade by someone I implemented the functionality as `TypeId::trait_info_of` which additionally allows getting the vtable pointer to build `dyn` Objects in recursive reflection. It allows checking if a TypeId implements a trait. Since this is my first PR feel free to tell me if there are any formal issues.
Jonathan Brouwer 8 weeks ago
parent 41617cd · parent 045f1dc · commit feec59e
0 files changed, 0 insertions, 0 deletions