Skip to main content

sys_enum

Attribute Macro sys_enum 

Source
#[sys_enum]
Expand description

Applies platform config to an enum and verifies trait bounds at compile time.

Use traits(Trait1, Trait2) to ensure the type satisfies these bounds on the target platform.