pub struct Config {Show 15 fields
pub noise: Noise,
pub seed: i32,
pub frequency: f32,
pub modifier: Modifier,
pub triangle_wave_frequency: f32,
pub fractal: bool,
pub lacunarity: f32,
pub octaves: u32,
pub gain: f32,
pub weighted_strength: f32,
pub improve: Improve,
pub jitter: f32,
pub tileable: bool,
pub tile_width: f32,
pub tile_height: f32,
}
Fields§
§noise: Noise
§seed: i32
§frequency: f32
§modifier: Modifier
§triangle_wave_frequency: f32
§fractal: bool
§lacunarity: f32
§octaves: u32
§gain: f32
§weighted_strength: f32
§improve: Improve
§jitter: f32
§tileable: bool
§tile_width: f32
§tile_height: f32
Implementations§
Source§impl Config
impl Config
pub fn sampler2(&self) -> Option<Box<dyn Sample<2>>>
pub fn sampler2a(&self) -> Option<Box<dyn Sample<2, f32x2>>>
Available on crate feature
nightly-simd
only.pub fn sampler3(&self) -> Option<Box<dyn Sample<3>>>
pub fn sampler3a(&self) -> Option<Box<dyn Sample<3, f32x4>>>
Available on crate feature
nightly-simd
only.pub fn sampler4(&self) -> Option<Box<dyn Sample<4>>>
pub fn sampler4a(&self) -> Option<Box<dyn Sample<4, f32x4>>>
Available on crate feature
nightly-simd
only.Trait Implementations§
impl Copy for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more