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

pub fn from_uint<A>(n: usize) -> Option<A> where A: FromPrimitive

A utility function that just calls FromPrimitive::from_uint.