Struct noise::utils::SphereMapBuilder
source · [−]pub struct SphereMapBuilder<SourceModule>where
SourceModule: NoiseFn<f64, 3>,{ /* private fields */ }
Implementations
sourceimpl<SourceModule> SphereMapBuilder<SourceModule>where
SourceModule: NoiseFn<f64, 3>,
impl<SourceModule> SphereMapBuilder<SourceModule>where
SourceModule: NoiseFn<f64, 3>,
pub fn new(source_module: SourceModule) -> Self
pub fn set_latitude_bounds(self, min_lat_bound: f64, max_lat_bound: f64) -> Self
pub fn set_longitude_bounds(self, min_lon_bound: f64, max_lon_bound: f64) -> Self
pub fn set_bounds(
self,
min_lat_bound: f64,
max_lat_bound: f64,
min_lon_bound: f64,
max_lon_bound: f64
) -> Self
pub fn latitude_bounds(&self) -> (f64, f64)
pub fn longitude_bounds(&self) -> (f64, f64)
Trait Implementations
sourceimpl<SourceModule> NoiseMapBuilder<SourceModule> for SphereMapBuilder<SourceModule>where
SourceModule: NoiseFn<f64, 3>,
impl<SourceModule> NoiseMapBuilder<SourceModule> for SphereMapBuilder<SourceModule>where
SourceModule: NoiseFn<f64, 3>,
Auto Trait Implementations
impl<SourceModule> RefUnwindSafe for SphereMapBuilder<SourceModule>where
SourceModule: RefUnwindSafe,
impl<SourceModule> Send for SphereMapBuilder<SourceModule>where
SourceModule: Send,
impl<SourceModule> Sync for SphereMapBuilder<SourceModule>where
SourceModule: Sync,
impl<SourceModule> Unpin for SphereMapBuilder<SourceModule>where
SourceModule: Unpin,
impl<SourceModule> UnwindSafe for SphereMapBuilder<SourceModule>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