pub struct GeoScale {
pub metres_per_pixel_x: f32,
pub metres_per_pixel_y: f32,
}Expand description
Geographic per-pixel scaling for a ScalarField. Filled by the
producer from tile geometry and latitude (Web Mercator’s scale is
latitude-dependent), so consumers like slope don’t need to
re-derive tile geometry.
Fields§
§metres_per_pixel_x: f32§metres_per_pixel_y: f32Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeoScale
impl RefUnwindSafe for GeoScale
impl Send for GeoScale
impl Sync for GeoScale
impl Unpin for GeoScale
impl UnsafeUnpin for GeoScale
impl UnwindSafe for GeoScale
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