documented
Derive macro for accessing your type's documentation at runtime
Quick start
use ;
/// Nice.
/// Multiple single-line doc comments are supported.
///
/** Multi-line doc comments are supported too.
Each line of the multi-line block is individually trimmed.
Note the lack of spaces in front of this line.
*/
;
let doc_str = "Nice.
Multiple single-line doc comments are supported.
Multi-line doc comments are supported too.
Each line of the multi-line block is individually trimmed.
Note the lack of spaces in front of this line.
Attribute-style documentation is supported too.";
assert_eq!;
let field_doc_str = "Doc comments on fields (and enum variants) are supported too using
the `DocumentedFields` derive macro.
Frankly, delicious.";
assert_eq!;
assert_eq!;
assert_eq!;
assert_eq!;