Crate num_enum[][src]

See https://docs.rs/num_enum for more info about this crate.

Structs

TryFromPrimitiveError

Traits

FromPrimitive
TryFromPrimitive

Derive Macros

FromPrimitive

Implements From<Primitive> for a #[repr(Primitive)] enum.

IntoPrimitive

Implements Into<Primitive> for a #[repr(Primitive)] enum.

TryFromPrimitive

Implements TryFrom<Primitive> for a #[repr(Primitive)] enum.

UnsafeFromPrimitive

Generates a unsafe fn from_unchecked (number: Primitive) -> Self associated function.