rustdoc::html::render

Function document_item_info

source
fn document_item_info(
    cx: &mut Context<'_>,
    item: &Item,
    parent: Option<&Item>,
) -> ItemInfo
Expand description

Add extra information about an item such as:

  • Stability
  • Deprecated
  • Required features (through the doc_cfg feature)