[][src]Trait nannou::noise::Seedable

pub trait Seedable {
    fn set_seed(self, seed: u32) -> Self;
fn seed(&self) -> u32; }

Trait for functions that require a seed before generating their values

Required methods

fn set_seed(self, seed: u32) -> Self

Set the seed for the function implementing the Seedable trait

fn seed(&self) -> u32

Getter to retrieve the seed from the function

Loading content...

Implementors

impl Seedable for BasicMulti[src]

impl Seedable for Billow[src]

impl Seedable for Fbm[src]

impl Seedable for HybridMulti[src]

impl Seedable for OpenSimplex[src]

fn set_seed(self, seed: u32) -> OpenSimplex[src]

Sets the seed value for Open Simplex noise

impl Seedable for Perlin[src]

fn set_seed(self, seed: u32) -> Perlin[src]

Sets the seed value for Perlin noise

impl Seedable for RidgedMulti[src]

impl Seedable for SuperSimplex[src]

fn set_seed(self, seed: u32) -> SuperSimplex[src]

Sets the seed value for Super Simplex noise

impl Seedable for Value[src]

fn set_seed(self, seed: u32) -> Value[src]

Sets the seed value for Value noise

impl Seedable for Worley[src]

fn set_seed(self, seed: u32) -> Worley[src]

Sets the seed value used by the Worley cells.

impl<'a, Source> Seedable for Turbulence<'a, Source>[src]

Loading content...