Module enumint

Source
Available on doc or test only.
Expand description

Shows how to use the enumint! declarative macro.

§Examples

This will create the ExampleEnumIntU8 type.

enumint![pub ExampleEnumIntU8, i8, -126, 125];

Enums§

ExampleEnumIntU8
An auto-generated enum for values between #start and #end.