Struct noise::utils::SphereMapBuilder
source · pub struct SphereMapBuilder<'a> { /* private fields */ }
Implementations§
source§impl<'a> SphereMapBuilder<'a>
impl<'a> SphereMapBuilder<'a>
pub fn new(source_module: &'a dyn NoiseFn<[f64; 3]>) -> 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§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SphereMapBuilder<'a>
impl<'a> !Send for SphereMapBuilder<'a>
impl<'a> !Sync for SphereMapBuilder<'a>
impl<'a> Unpin for SphereMapBuilder<'a>
impl<'a> !UnwindSafe for SphereMapBuilder<'a>
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