pyo3_macros_backend::pyclass

Function impl_enum

Source
fn impl_enum(
    enum_: PyClassEnum<'_>,
    args: &PyClassArgs,
    doc: PythonDoc,
    methods_type: PyClassMethodsType,
    ctx: &Ctx,
) -> Result<TokenStream>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here