Function core::num::from_uintExperimental [-]  [+] [src]

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

A utility function that just calls FromPrimitive::from_uint.