Skip to main content

ApiDocsDescriptionRenderer

Type Alias ApiDocsDescriptionRenderer 

Source
pub type ApiDocsDescriptionRenderer = Box<dyn Fn(&str) -> String>;
Expand description

Renders markdown API documentation. Renders markdown API documentation. Renders markdown API documentation. Renders the description of a type, property, or variant to markdown, from the doc comment as written, without its tags. An empty result omits the description.

Aliased Typeยง

pub struct ApiDocsDescriptionRenderer(/* private fields */);