pyo3_macros_backend::pyclass

Function generate_cfg_check

Source
fn generate_cfg_check(
    variants: &[PyClassEnumUnitVariant<'_>],
    cls: &Ident,
) -> TokenStream
⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here