Trait core::convert::FloatToInt

source ·
pub trait FloatToInt<Int>: Sealed + Sized { }
🔬This is a nightly-only experimental API. (convert_float_to_int #67057)
Expand description

Supporting trait for inherent methods of f32 and f64 such as to_int_unchecked. Typically doesn’t need to be used directly.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl FloatToInt<i8> for f16

source§

impl FloatToInt<i8> for f32

source§

impl FloatToInt<i8> for f64

source§

impl FloatToInt<i8> for f128

source§

impl FloatToInt<i16> for f16

source§

impl FloatToInt<i16> for f32

source§

impl FloatToInt<i16> for f64

source§

impl FloatToInt<i16> for f128

source§

impl FloatToInt<i32> for f16

source§

impl FloatToInt<i32> for f32

source§

impl FloatToInt<i32> for f64

source§

impl FloatToInt<i32> for f128

source§

impl FloatToInt<i64> for f16

source§

impl FloatToInt<i64> for f32

source§

impl FloatToInt<i64> for f64

source§

impl FloatToInt<i64> for f128

source§

impl FloatToInt<i128> for f16

source§

impl FloatToInt<i128> for f32

source§

impl FloatToInt<i128> for f64

source§

impl FloatToInt<i128> for f128

source§

impl FloatToInt<isize> for f16

source§

impl FloatToInt<isize> for f32

source§

impl FloatToInt<isize> for f64

source§

impl FloatToInt<isize> for f128

source§

impl FloatToInt<u8> for f16

source§

impl FloatToInt<u8> for f32

source§

impl FloatToInt<u8> for f64

source§

impl FloatToInt<u8> for f128

source§

impl FloatToInt<u16> for f16

source§

impl FloatToInt<u16> for f32

source§

impl FloatToInt<u16> for f64

source§

impl FloatToInt<u16> for f128

source§

impl FloatToInt<u32> for f16

source§

impl FloatToInt<u32> for f32

source§

impl FloatToInt<u32> for f64

source§

impl FloatToInt<u32> for f128

source§

impl FloatToInt<u64> for f16

source§

impl FloatToInt<u64> for f32

source§

impl FloatToInt<u64> for f64

source§

impl FloatToInt<u64> for f128

source§

impl FloatToInt<u128> for f16

source§

impl FloatToInt<u128> for f32

source§

impl FloatToInt<u128> for f64

source§

impl FloatToInt<u128> for f128

source§

impl FloatToInt<usize> for f16

source§

impl FloatToInt<usize> for f32

source§

impl FloatToInt<usize> for f64

source§

impl FloatToInt<usize> for f128