rustdoc::html::render::print_item

Function item_variants

Source
fn item_variants(
    w: &mut Buffer,
    cx: &mut Context<'_>,
    it: &Item,
    variants: &IndexVec<VariantIdx, Item>,
    enum_def_id: DefId,
)