pub trait Sample4a: Sample<4, f32x4> {
// Required method
fn sample4a(&self, point: impl Into<f32x4>) -> f32;
}
Available on crate feature
nightly-simd
only.Expand description
Helper trait that provides sample4a
for every Sample<4, f32x4>
.
It also works for any impl Into<f32x4>
.
Required 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.