pub trait IntoF32Lossywhere
Self: Sealed,{
// Required method
fn into_f32_lossy(self) -> f32;
}
Expand description
Trait for number types that can be converted into f32
, potentially lossily
Required Methods§
Sourcefn into_f32_lossy(self) -> f32
fn into_f32_lossy(self) -> f32
Convert into a f32
value
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.