[][src]Trait noise_fn::noise::NoiseDomain

pub trait NoiseDomain<Arg>: Noise {
    fn noise(&self, arg: Arg) -> Self::Value;
}

A domain over which a noise function operates.

Required methods

fn noise(&self, arg: Arg) -> Self::Value

Get the value of the noise at a particular 'location'.

Loading content...

Implementors

impl NoiseDomain<Matrix<f64, 2_usize, 1_usize>> for Simplex[src]

impl NoiseDomain<Matrix<f64, 3_usize, 1_usize>> for Simplex[src]

impl NoiseDomain<Matrix<f64, 4_usize, 1_usize>> for Simplex[src]

impl<Arg, Inner, InScale: Copy, OutScale: Copy> NoiseDomain<Arg> for ScaleNoise<Inner, InScale, OutScale> where
    Arg: Mul<InScale>,
    Inner: NoiseDomain<Arg::Output>,
    Inner::Value: Mul<OutScale>, 
[src]

impl<Arg, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for ToFloat<Inner> where
    Inner::Value: Unsigned + PrimInt + AsPrimitive<u64>, 
[src]

impl<Arg, Seed, Inner: NoiseDomain<Arg>> NoiseDomain<Arg> for IgnoreSeed<Seed, Inner>[src]

impl<Arg, Value: Copy> NoiseDomain<Arg> for Constant<Value>[src]

impl<Arg: Hash> NoiseDomain<Arg> for HashNoise[src]

impl<Arg: Copy, Inner1: NoiseDomain<Arg>, Inner2: NoiseDomain<Arg>> NoiseDomain<Arg> for AddNoise<Inner1, Inner2> where
    Inner1::Value: Add<Inner2::Value>, 
[src]

impl<Arg: Copy, Inner: Noise, const N: usize> NoiseDomain<Arg> for Octaves<Inner, N> where
    Arg: Mul<f64>,
    Inner: NoiseDomain<Arg::Output>,
    Inner::Value: Mul<f64>,
    <Inner::Value as Mul<f64>>::Output: Zero + AddAssign
[src]

impl<Arg: Copy, Inner: NoiseDomain<Arg>, const N: usize> NoiseDomain<Arg> for SumNoise<Inner, N> where
    Inner::Value: Zero + AddAssign
[src]

impl<Value: Copy, const N: usize> NoiseDomain<Matrix<Value, N, 1_usize>> for Gradient<Value, N> where
    Vector<Value, N>: Dot<Output = Value>, 
[src]

impl<const N: usize> NoiseDomain<Matrix<u8, N, 1_usize>> for WhiteNoise[src]

Loading content...