fn render_struct(
    w: &mut Buffer,
    it: &Item,
    g: Option<&Generics>,
    ty: Option<CtorKind>,
    fields: &[Item],
    tab: &str,
    structhead: bool,
    cx: &Context<'_>
)