rustdoc::html::render::print_item

Function item_variants

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