noise_functions

Trait Sample3a

Source
pub trait Sample3a: Sample<3, f32x4> {
    // Required method
    fn sample3a(&self, point: impl Into<f32x4>) -> f32;
}
Available on crate feature nightly-simd only.
Expand description

Helper trait that provides sample3a for every Sample<3, f32x4>.

It also works for any impl Into<f32x4>.

Required Methods§

Source

fn sample3a(&self, point: impl Into<f32x4>) -> f32

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.

Implementors§

Source§

impl<N> Sample3a for N
where N: Sample<3, f32x4>,