pyo3_macros_backend::pymethod

Function impl_py_method_def_new

Source
pub fn impl_py_method_def_new(
    cls: &Type,
    spec: &FnSpec<'_>,
    ctx: &Ctx,
) -> Result<MethodAndSlotDef>
Expand description

Also used by pyclass.

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here