pub trait HostFloatOperation {
// Required methods
fn host_sin(self) -> Self;
fn host_cos(self) -> Self;
fn host_exp(self) -> Self;
fn host_exp2(self) -> Self;
fn host_log(self) -> Self;
fn host_log10(self) -> Self;
fn host_log2(self) -> Self;
fn host_powf(self, y: Self) -> Self;
fn host_powi(self, y: i32) -> Self;
}Required Methods§
fn host_sin(self) -> Self
fn host_cos(self) -> Self
fn host_exp(self) -> Self
fn host_exp2(self) -> Self
fn host_log(self) -> Self
fn host_log10(self) -> Self
fn host_log2(self) -> Self
fn host_powf(self, y: Self) -> Self
fn host_powi(self, y: i32) -> Self
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.