[−][src]Function prefix_num_ops::from_primitive::from_i32
pub fn from_i32<Self_: FromPrimitive>(n: i32) -> Option<Self_>
Converts an i32
to return an optional value of this type.
pub fn from_i32<Self_: FromPrimitive>(n: i32) -> Option<Self_>
Converts an i32
to return an optional value of this type.