rustdoc::html::render::print_item

Function display_c_like_variant

source
fn display_c_like_variant(
    w: &mut Buffer,
    cx: &mut Context<'_>,
    item: &Item,
    variant: &Variant,
    index: VariantIdx,
    should_show_enum_discriminant: bool,
    enum_def_id: DefId,
)