Function core::num::from_uint[src]

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

A utility function that just calls FromPrimitive::from_uint.