pub enum InvalidGeometryTactic {
StopProcessing,
DropBrokenFeature,
}Expand description
What should be done if, when parsing a file, there’s an invalid geometry, i.e. the MVT file is invalid
Variants§
StopProcessing
If one geom is invalid, the whole tile is viewed as invalid and not returned.
DropBrokenFeature
The feature with invalid geometry is ignored and skipped. The rest of the features in the file (with valid geometries) are included.
Trait Implementations§
Source§impl Clone for InvalidGeometryTactic
impl Clone for InvalidGeometryTactic
Source§fn clone(&self) -> InvalidGeometryTactic
fn clone(&self) -> InvalidGeometryTactic
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InvalidGeometryTactic
impl Debug for InvalidGeometryTactic
Source§impl PartialEq for InvalidGeometryTactic
impl PartialEq for InvalidGeometryTactic
Source§impl Serialize for InvalidGeometryTactic
impl Serialize for InvalidGeometryTactic
impl Copy for InvalidGeometryTactic
impl StructuralPartialEq for InvalidGeometryTactic
Auto Trait Implementations§
impl Freeze for InvalidGeometryTactic
impl RefUnwindSafe for InvalidGeometryTactic
impl Send for InvalidGeometryTactic
impl Sync for InvalidGeometryTactic
impl Unpin for InvalidGeometryTactic
impl UnwindSafe for InvalidGeometryTactic
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