Struct noise::utils::SphereMapBuilder
source · pub struct SphereMapBuilder<SourceModule>{ /* private fields */ }
Implementations§
source§impl<SourceModule> SphereMapBuilder<SourceModule>
impl<SourceModule> SphereMapBuilder<SourceModule>
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§
source§impl<SourceModule> NoiseMapBuilder<SourceModule> for SphereMapBuilder<SourceModule>
impl<SourceModule> NoiseMapBuilder<SourceModule> for SphereMapBuilder<SourceModule>
Auto Trait Implementations§
impl<SourceModule> Freeze for SphereMapBuilder<SourceModule>where
SourceModule: Freeze,
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§
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