pub enum AreaOfUseCheck {
Off,
Warn,
Strict,
}Expand description
Opt-in mode controlling how a Transformer reacts to coordinates that
fall outside the source EPSG’s registered area-of-use bounding box.
The check consults area_of_use_for_epsg; if the lookup returns None
(no entry registered for that EPSG code) the check is skipped regardless of
mode.
Variants§
Off
Validation is disabled; out-of-area coordinates pass through silently.
Warn
Out-of-area coordinates are recorded via Transformer::last_warning
but the transformation still proceeds.
Strict
Out-of-area coordinates abort the transformation with
Error::OutsideAreaOfUse.
Trait Implementations§
Source§impl Clone for AreaOfUseCheck
impl Clone for AreaOfUseCheck
Source§fn clone(&self) -> AreaOfUseCheck
fn clone(&self) -> AreaOfUseCheck
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 AreaOfUseCheck
Source§impl Debug for AreaOfUseCheck
impl Debug for AreaOfUseCheck
Source§impl Default for AreaOfUseCheck
impl Default for AreaOfUseCheck
Source§fn default() -> AreaOfUseCheck
fn default() -> AreaOfUseCheck
Returns the “default value” for a type. Read more
impl Eq for AreaOfUseCheck
Source§impl PartialEq for AreaOfUseCheck
impl PartialEq for AreaOfUseCheck
Source§fn eq(&self, other: &AreaOfUseCheck) -> bool
fn eq(&self, other: &AreaOfUseCheck) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AreaOfUseCheck
Auto Trait Implementations§
impl Freeze for AreaOfUseCheck
impl RefUnwindSafe for AreaOfUseCheck
impl Send for AreaOfUseCheck
impl Sync for AreaOfUseCheck
impl Unpin for AreaOfUseCheck
impl UnsafeUnpin for AreaOfUseCheck
impl UnwindSafe for AreaOfUseCheck
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