Expand description
See https://docs.rs/num_enum for more info about this crate.
Structs§
Traits§
Derive Macros§
- Default
- Implements
core::default::Defaultfor a#[repr(Primitive)] enum. - From
Primitive - Implements
From<Primitive>for a#[repr(Primitive)] enum. - Into
Primitive - Implements
Into<Primitive>for a#[repr(Primitive)] enum. - TryFrom
Primitive - Implements
TryFrom<Primitive>for a#[repr(Primitive)] enum. - Unsafe
From Primitive - Generates a
unsafe fn unchecked_transmute_from(number: Primitive) -> Selfassociated function.