pub struct GeoBBox {
pub min: [f64; 2],
pub max: [f64; 2],
}Expand description
Axis-aligned bounding box in Web Mercator world-space, used by box/rectangle rendered-feature queries.
Coordinates are in the same projected space as [world_xy], i.e. Web
Mercator metres. min is the south-west corner, max is the north-east
corner.
Fields§
§min: [f64; 2]Minimum (south-west) corner in projected world space.
max: [f64; 2]Maximum (north-east) corner in projected world space.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GeoBBox
impl RefUnwindSafe for GeoBBox
impl Send for GeoBBox
impl Sync for GeoBBox
impl Unpin for GeoBBox
impl UnsafeUnpin for GeoBBox
impl UnwindSafe for GeoBBox
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