pub enum ValidationMethod {
Strict,
Coerce,
IgnoreMalformed,
}Expand description
How malformed coordinates are handled (validation_method).
Variants§
Strict
Reject malformed coordinates (default).
Coerce
Snap out-of-range coordinates into range.
IgnoreMalformed
Silently ignore malformed coordinates.
Trait Implementations§
Source§impl Clone for ValidationMethod
impl Clone for ValidationMethod
Source§fn clone(&self) -> ValidationMethod
fn clone(&self) -> ValidationMethod
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 ValidationMethod
Auto Trait Implementations§
impl Freeze for ValidationMethod
impl RefUnwindSafe for ValidationMethod
impl Send for ValidationMethod
impl Sync for ValidationMethod
impl Unpin for ValidationMethod
impl UnsafeUnpin for ValidationMethod
impl UnwindSafe for ValidationMethod
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