fn gen_method_impl(
    sig: &FnSignature,
    vtable_cell: &Ident
) -> Result<TokenStream>
Expand description

Generate a single method for trait_impl. This implements a trait method by invoking a foreign-supplied callback.