Trait finte::IntEnum [−][src]
pub trait IntEnum: Sized { type Int; fn int_value(&self) -> Self::Int; fn try_from_int(value: Self::Int) -> Result<Self, TryFromIntError<Self>>; }
Associated Types
Required methods
fn try_from_int(value: Self::Int) -> Result<Self, TryFromIntError<Self>>