[−][src]Trait valora::prelude::Seedable
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
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
fn seed(&self) -> u32
[src]
impl Seedable for Perlin
[src]
fn set_seed(self, seed: u32) -> Perlin
[src]
Sets the seed value for Perlin noise
fn seed(&self) -> u32
[src]
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
fn seed(&self) -> u32
[src]
impl Seedable for Value
[src]
fn set_seed(self, seed: u32) -> Value
[src]
Sets the seed value for Value noise
fn seed(&self) -> u32
[src]
impl Seedable for Worley
[src]
fn set_seed(self, seed: u32) -> Worley
[src]
Sets the seed value used by the Worley cells.