pyo3_
macros_
backend
0.23.0-dev
In pyo3_
macros_
backend::
pyclass
pyo3_macros_backend
::
pyclass
Function
generate_cfg_check
Copy item path
Source
fn generate_cfg_check( variants: &[
PyClassEnumUnitVariant
<'_>], cls: &
Ident
, ) ->
TokenStream
⚠️ Internal Docs ⚠️ Not Public API 👉
Official Docs Here