fn assoc_method(
    w: &mut Buffer,
    meth: &Item,
    g: &Generics,
    d: &FnDecl,
    link: AssocItemLink<'_>,
    parent: ItemType,
    cx: &Context<'_>,
    render_mode: RenderMode
)