Trait base_traits::AsF64
source · pub trait AsF64 {
// Required method
fn as_f64(&self) -> f64;
}Expand description
Trait defining instance method as_f64() : f64 that provides a
cost-free conversion into f64.
It is expected that the implementing type “is-a” f64 in a direct
manner as well as in a logical manner.