pub trait FloatCast {
// Required methods
fn to_f32_cast(&self) -> f32;
fn to_f64_cast(&self) -> f64;
}Expand description
Trait to convert between f32 and f64.
pub trait FloatCast {
// Required methods
fn to_f32_cast(&self) -> f32;
fn to_f64_cast(&self) -> f64;
}Trait to convert between f32 and f64.