pub struct GeoBounds {
pub min_lng: f64,
pub min_lat: f64,
pub max_lng: f64,
pub max_lat: f64,
}Expand description
The box a map covers.
Fields§
§min_lng: f64The westernmost longitude.
min_lat: f64The southernmost latitude.
max_lng: f64The easternmost longitude.
max_lat: f64The northernmost latitude.
Implementations§
Source§impl GeoBounds
Inherent implementation of GeoBounds.
impl GeoBounds
Inherent implementation of GeoBounds.
Source§impl GeoBounds
impl GeoBounds
pub fn get_min_lng(&self) -> f64
pub fn get_mut_min_lng(&mut self) -> &mut f64
pub fn set_min_lng(&mut self, val: f64) -> &mut Self
pub fn get_min_lat(&self) -> f64
pub fn get_mut_min_lat(&mut self) -> &mut f64
pub fn set_min_lat(&mut self, val: f64) -> &mut Self
pub fn get_max_lng(&self) -> f64
pub fn get_mut_max_lng(&mut self) -> &mut f64
pub fn set_max_lng(&mut self, val: f64) -> &mut Self
pub fn get_max_lat(&self) -> f64
pub fn get_mut_max_lat(&mut self) -> &mut f64
pub fn set_max_lat(&mut self, val: f64) -> &mut Self
Trait Implementations§
impl Copy for GeoBounds
impl StructuralPartialEq for GeoBounds
Auto Trait Implementations§
impl Freeze for GeoBounds
impl RefUnwindSafe for GeoBounds
impl Send for GeoBounds
impl Sync for GeoBounds
impl Unpin for GeoBounds
impl UnsafeUnpin for GeoBounds
impl UnwindSafe for GeoBounds
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