pyo3_macros_backend::pyclass

Function build_py_enum

Source
pub fn build_py_enum(
    enum_: &mut ItemEnum,
    args: PyClassArgs,
    method_type: PyClassMethodsType,
) -> Result<TokenStream>
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here