Struct geo_rust::BoundingBox
source · pub struct BoundingBox {
pub min_lat: f64,
pub max_lat: f64,
pub min_lon: f64,
pub max_lon: f64,
}
Fields§
§min_lat: f64
§max_lat: f64
§min_lon: f64
§max_lon: f64
Implementations§
source§impl BoundingBox
impl BoundingBox
sourcepub fn new(centre: &GeoLocation, threshold: f64) -> Self
pub fn new(centre: &GeoLocation, threshold: f64) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BoundingBox
impl RefUnwindSafe for BoundingBox
impl Send for BoundingBox
impl Sync for BoundingBox
impl Unpin for BoundingBox
impl UnwindSafe for BoundingBox
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