rustdoc::html::highlight

Function render_item_decl_with_highlighting

Source
pub(crate) fn render_item_decl_with_highlighting(src: &str, out: &mut Buffer)
Expand description

Highlights src as an item-decl, returning the HTML output.