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