[][src]Module prefix_num_ops::to_primitive

Methodes from the ToPrimitive trait, exposed as free functions.

Functions

to_f32

Converts the input to an f32.

to_f64

Converts the input to an f64.

to_i8

Converts the input to an i8.

to_i16

Converts the input to an i16.

to_i32

Converts the input to an i32.

to_i64

Converts the input to an i64.

to_isize

Converts the input to an isize.

to_u8

Converts the input to an u8.

to_u16

Converts the input to an u16.

to_u32

Converts the input to an u32.

to_u64

Converts the input to an u64.

to_usize

Converts the input to an usize.