rustdoc::html::render

Function document_item_info

Source
fn document_item_info(
    cx: &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)