pyo3_macros_backend::pymethod

Function gen_py_method

Source
pub fn gen_py_method(
    cls: &Type,
    sig: &mut Signature,
    meth_attrs: &mut Vec<Attribute>,
    options: PyFunctionOptions,
    ctx: &Ctx,
) -> Result<GeneratedPyMethod>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here