pub struct BBox<T = f64> {
pub left: T,
pub bottom: T,
pub right: T,
pub top: T,
}Expand description
The Bounding box, whether the tile bounds or lon-lat bounds or whatever.
Fields§
§left: Tleft most point; Also represents the left-most longitude
bottom: Tbottom most point; Also represents the bottom-most latitude
right: Tright most point; Also represents the right-most longitude
top: Ttop most point; Also represents the top-most latitude
Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for BBox<T>where
T: Deserialize<'de> + Copy,
impl<'de, T> Deserialize<'de> for BBox<T>where
T: Deserialize<'de> + Copy,
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<T: PartialOrd> PartialOrd for BBox<T>
impl<T: PartialOrd> PartialOrd for BBox<T>
impl<T: Copy> Copy for BBox<T>
impl<T> StructuralPartialEq for BBox<T>
Auto Trait Implementations§
impl<T> Freeze for BBox<T>where
T: Freeze,
impl<T> RefUnwindSafe for BBox<T>where
T: RefUnwindSafe,
impl<T> Send for BBox<T>where
T: Send,
impl<T> Sync for BBox<T>where
T: Sync,
impl<T> Unpin for BBox<T>where
T: Unpin,
impl<T> UnwindSafe for BBox<T>where
T: UnwindSafe,
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