W3cubDocs

/Rust

Trait std::convert::FloatToInt

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

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

Implementors

impl FloatToInt<i8> for f32[src]

impl FloatToInt<i8> for f64[src]

impl FloatToInt<i16> for f32[src]

impl FloatToInt<i16> for f64[src]

impl FloatToInt<i32> for f32[src]

impl FloatToInt<i32> for f64[src]

impl FloatToInt<i64> for f32[src]

impl FloatToInt<i64> for f64[src]

impl FloatToInt<i128> for f32[src]

impl FloatToInt<i128> for f64[src]

impl FloatToInt<isize> for f32[src]

impl FloatToInt<isize> for f64[src]

impl FloatToInt<u8> for f32[src]

impl FloatToInt<u8> for f64[src]

impl FloatToInt<u16> for f32[src]

impl FloatToInt<u16> for f64[src]

impl FloatToInt<u32> for f32[src]

impl FloatToInt<u32> for f64[src]

impl FloatToInt<u64> for f32[src]

impl FloatToInt<u64> for f64[src]

impl FloatToInt<u128> for f32[src]

impl FloatToInt<u128> for f64[src]

impl FloatToInt<usize> for f32[src]

impl FloatToInt<usize> for f64[src]

Loading content...

© 2010 The Rust Project Developers
Licensed under the Apache License, Version 2.0 or the MIT license, at your option.
https://doc.rust-lang.org/std/convert/trait.FloatToInt.html