Module enums

Source
Expand description

Macro-generated enum utilities for PyO3.

Functions§

parse_enum
Converts a raw string to the enum E, returning a nicely‑formatted PyValueError if the string does not match any variant.