pub enum DecodedGeometry {
Points(Vec<[i32; 2]>),
LineStrings(Vec<Vec<[i32; 2]>>),
Polygons(Vec<Vec<Vec<[i32; 2]>>>),
}Expand description
Decoded geometry types from MVT.
Variants§
Points(Vec<[i32; 2]>)
Point geometries (multiple points).
LineStrings(Vec<Vec<[i32; 2]>>)
LineString geometries (multiple linestrings).
Polygons(Vec<Vec<Vec<[i32; 2]>>>)
Polygon geometries (multiple polygons, each with rings).
Trait Implementations§
Source§impl Clone for DecodedGeometry
impl Clone for DecodedGeometry
Source§fn clone(&self) -> DecodedGeometry
fn clone(&self) -> DecodedGeometry
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 moreSource§impl Debug for DecodedGeometry
impl Debug for DecodedGeometry
Source§impl PartialEq for DecodedGeometry
impl PartialEq for DecodedGeometry
Source§fn eq(&self, other: &DecodedGeometry) -> bool
fn eq(&self, other: &DecodedGeometry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecodedGeometry
Auto Trait Implementations§
impl Freeze for DecodedGeometry
impl RefUnwindSafe for DecodedGeometry
impl Send for DecodedGeometry
impl Sync for DecodedGeometry
impl Unpin for DecodedGeometry
impl UnsafeUnpin for DecodedGeometry
impl UnwindSafe for DecodedGeometry
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