Struct noise::utils::PlaneMapBuilder
source · [−]pub struct PlaneMapBuilder<SourceModule, const DIM: usize>where
SourceModule: NoiseFn<f64, DIM>,{ /* private fields */ }
Implementations
sourceimpl<NH, F, const DIM: usize> PlaneMapBuilder<NoiseFnWrapper<NH, F, DIM>, DIM>where
NH: NoiseHasher + Clone,
F: Fn([f64; DIM], &NH) -> f64,
impl<NH, F, const DIM: usize> PlaneMapBuilder<NoiseFnWrapper<NH, F, DIM>, DIM>where
NH: NoiseHasher + Clone,
F: Fn([f64; DIM], &NH) -> f64,
sourceimpl<SourceModule, const DIM: usize> PlaneMapBuilder<SourceModule, DIM>where
SourceModule: NoiseFn<f64, DIM>,
impl<SourceModule, const DIM: usize> PlaneMapBuilder<SourceModule, DIM>where
SourceModule: NoiseFn<f64, DIM>,
pub fn new(source_module: SourceModule) -> Self
pub fn set_is_seamless(self, is_seamless: bool) -> Self
pub fn set_x_bounds(self, lower_x_bound: f64, upper_x_bound: f64) -> Self
pub fn set_y_bounds(self, lower_y_bound: f64, upper_y_bound: f64) -> Self
pub fn x_bounds(&self) -> (f64, f64)
pub fn y_bounds(&self) -> (f64, f64)
Trait Implementations
sourceimpl<SourceModule, const DIM: usize> NoiseMapBuilder<SourceModule> for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: NoiseFn<f64, DIM>,
impl<SourceModule, const DIM: usize> NoiseMapBuilder<SourceModule> for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: NoiseFn<f64, DIM>,
Auto Trait Implementations
impl<SourceModule, const DIM: usize> RefUnwindSafe for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: RefUnwindSafe,
impl<SourceModule, const DIM: usize> Send for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: Send,
impl<SourceModule, const DIM: usize> Sync for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: Sync,
impl<SourceModule, const DIM: usize> Unpin for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: Unpin,
impl<SourceModule, const DIM: usize> UnwindSafe for PlaneMapBuilder<SourceModule, DIM>where
SourceModule: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more