pyo3_macros_backend::pymethod

Function generate_method_body

Source
fn generate_method_body(
    cls: &Type,
    spec: &FnSpec<'_>,
    arguments: &[Ty],
    extract_error_mode: ExtractErrorMode,
    holders: &mut Holders,
    return_mode: Option<&ReturnMode>,
    ctx: &Ctx,
) -> Result<TokenStream>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here