Skip to main content

Module enums

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.