pub(crate) trait FloatAsSIMD: Sized {
// Provided method
fn splat(scalar: Self) -> Self { ... }
}
Expand description
Implement functions on f32/f64 to give them APIs similar to SIMD types
Provided Methods§
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.