Function std::num::from_u32[src]

pub fn from_u32<A: FromPrimitive>(n: u32) -> Option<A>

A utility function that just calls FromPrimitive::from_u32.