Skip to content

Commit feec59e

Browse files
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 rust-lang/rust#146922. As rust-lang/rust#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.
2 parents 41617cd + 045f1dc commit feec59e

0 file changed

File tree

    0 commit comments

    Comments
     (0)