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 to_int_unchecked. Typically doesn’t need to be used directly.

Implementors

© 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