pub trait IntoF64Lossywhere
Self: Sealed,{
// Required method
fn into_f64_lossy(self) -> f64;
}
Expand description
Trait for number types that can be converted into f64
, potentially lossily
Required Methods§
Sourcefn into_f64_lossy(self) -> f64
fn into_f64_lossy(self) -> f64
Convert into a f64
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.