Function std::num::from_i32Unstable [-] [+] [src]

pub fn from_i32<A>(n: i32) -> Option<A> where A: FromPrimitive

A utility function that just calls FromPrimitive::from_i32.