pyo3_macros_backend

Function build_py_enum

Source
pub fn build_py_enum(
    enum_: &mut ItemEnum,
    args: PyClassArgs,
    method_type: PyClassMethodsType,
) -> Result<TokenStream>