pyo3_macros_backend::pyclass

Function impl_simple_enum

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