pub trait ToF64 {
// Required method
fn to_f64(&self) -> f64;
}Expand description
Trait defining instance method to_f64() : f64 that provides a
potentially expensive conversion into f64.
It is expected that the implementing type “is-a” f64 in a logical
manner.