Function std::num::from_intExperimental
[-]
[+]
[src]
pub fn from_int<A: FromPrimitive>(n: int) -> Option<A>
A utility function that just calls FromPrimitive::from_int
.