Methodes from the FromPrimitive trait, exposed as free functions.
from_f32 | Converts an f32 to return an optional value of this type.
|
from_f64 | Converts an f64 to return an optional value of this type.
|
from_i8 | Converts an i8 to return an optional value of this type.
|
from_i16 | Converts an i16 to return an optional value of this type.
|
from_i32 | Converts an i32 to return an optional value of this type.
|
from_i64 | Converts an i64 to return an optional value of this type.
|
from_isize | Converts an isize to return an optional value of this type.
|
from_u8 | Converts an u8 to return an optional value of this type.
|
from_u16 | Converts an u16 to return an optional value of this type.
|
from_u32 | Converts an u32 to return an optional value of this type.
|
from_u64 | Converts an u64 to return an optional value of this type.
|
from_usize | Converts an usize to return an optional value of this type.
|