pub struct AreaOfUseWarning {
pub lon: f64,
pub lat: f64,
pub epsg: u32,
pub west: f64,
pub south: f64,
pub east: f64,
pub north: f64,
}Expand description
A diagnostic record describing a single point that fell outside the registered area-of-use for the source EPSG.
Produced by Transformer when AreaOfUseCheck::Warn mode is enabled
and accessed via Transformer::last_warning.
Fields§
§lon: f64Longitude of the offending point (degrees, WGS84).
lat: f64Latitude of the offending point (degrees, WGS84).
epsg: u32Source EPSG code whose area-of-use was violated.
west: f64Western bound of the registered area-of-use (degrees).
south: f64Southern bound of the registered area-of-use (degrees).
east: f64Eastern bound of the registered area-of-use (degrees).
north: f64Northern bound of the registered area-of-use (degrees).
Trait Implementations§
Source§impl Clone for AreaOfUseWarning
impl Clone for AreaOfUseWarning
Source§fn clone(&self) -> AreaOfUseWarning
fn clone(&self) -> AreaOfUseWarning
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AreaOfUseWarning
Source§impl Debug for AreaOfUseWarning
impl Debug for AreaOfUseWarning
Source§impl PartialEq for AreaOfUseWarning
impl PartialEq for AreaOfUseWarning
Source§fn eq(&self, other: &AreaOfUseWarning) -> bool
fn eq(&self, other: &AreaOfUseWarning) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AreaOfUseWarning
Auto Trait Implementations§
impl Freeze for AreaOfUseWarning
impl RefUnwindSafe for AreaOfUseWarning
impl Send for AreaOfUseWarning
impl Sync for AreaOfUseWarning
impl Unpin for AreaOfUseWarning
impl UnsafeUnpin for AreaOfUseWarning
impl UnwindSafe for AreaOfUseWarning
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