Struct geom::bounds::GPSBounds [−][src]
Expand description
Represents a rectangular boundary of LonLat
points. After building one of these, LonLat
s
can be transformed into Pt2D
s, treating the top-left of the boundary as (0, 0), and growing
to the right and down (screen-drawing order, not Cartesian) in meters.
Fields
min_lon: f64
min_lat: f64
max_lon: f64
max_lat: f64
Implementations
The bottom-right corner of the boundary, in map-space.
Convert all points to map-space, failing if any points are outside this boundary.
Convert all points to map-space. The points may be outside this boundary.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for GPSBounds
impl UnwindSafe for GPSBounds
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self