pub trait WasmFloat {
// Required methods
fn wasm_trunc(self) -> Self;
fn wasm_copysign(self, sign: Self) -> Self;
fn wasm_floor(self) -> Self;
fn wasm_ceil(self) -> Self;
fn wasm_sqrt(self) -> Self;
fn wasm_abs(self) -> Self;
fn wasm_nearest(self) -> Self;
fn wasm_minimum(self, other: Self) -> Self;
fn wasm_maximum(self, other: Self) -> Self;
fn mul_add(self, b: Self, c: Self) -> Self;
}
Required Methods§
fn wasm_trunc(self) -> Self
fn wasm_copysign(self, sign: Self) -> Self
fn wasm_floor(self) -> Self
fn wasm_ceil(self) -> Self
fn wasm_sqrt(self) -> Self
fn wasm_abs(self) -> Self
fn wasm_nearest(self) -> Self
fn wasm_minimum(self, other: Self) -> Self
fn wasm_maximum(self, other: Self) -> Self
fn mul_add(self, b: Self, c: Self) -> 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.