5

Is it possible to group sections of an API? related functions, types or constants for example.

Doxygen for example supports grouping like this:

/** \name Some API Grouping
 * \{ */

// code //

/* \} */

Is rustdoc capable of something similar?

albert
  • 8,285
  • 3
  • 19
  • 32
ideasman42
  • 42,413
  • 44
  • 197
  • 320

1 Answers1

4

No.

Would be nice, but sadly no.

Edit: As noted by Matthieu M., you can add doc comments to individual impl blocks, but that doesn't solve the general case.

DK.
  • 55,277
  • 5
  • 189
  • 162