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.