Trait noise_functions::Sample2a

source ·
pub trait Sample2a {
    // Required method
    fn sample2a(&self, point: impl Into<f32x2>) -> f32;
}
Available on crate feature nightly-simd only.
Expand description

Helper trait that provides sample2a as a shorthand for Sample<2, f32x2>::sample.

It also works for any impl Into<f32x2>.

Required Methods§

source

fn sample2a(&self, point: impl Into<f32x2>) -> f32

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<Noise> Sample2a for Noise
where Noise: Sample<2, f32x2>,