[rustdoc] Generate documentation for type definitions #99952
Labels
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
Would it be possible to add traits and functions to type definitions? For example, it's really hard to figure out what functions exist on this type: https://docs.rs/blake2/0.10.4/blake2/type.Blake2b.html
It's a type definition of a generic struct where some of the impls on the generic struct depend on the traits the generic implements.
so having docs on the type definition will allow seeing what traits/functions end up implemented on that type
The text was updated successfully, but these errors were encountered: