Trait from_int::FromInt
[−]
[src]
pub trait FromInt { fn from_int(i: i32) -> Option<Self>
where
Self: Sized; }
The trait that you derive to get YourEnum::from_int(i32)
.