pub enum VectorGeometry {
Point(VectorPointGeometry),
MultiPoint(VectorMultiPointGeometry),
LineString(VectorLineStringGeometry),
MultiLineString(VectorMultiLineStringGeometry),
Polygon(VectorPolygonGeometry),
MultiPolygon(VectorMultiPolygonGeometry),
}
Expand description
All possible geometry shapes
Variants§
Point(VectorPointGeometry)
Point Shape
MultiPoint(VectorMultiPointGeometry)
MultiPoint Shape
LineString(VectorLineStringGeometry)
LineString Shape
MultiLineString(VectorMultiLineStringGeometry)
MultiLineString Shape
Polygon(VectorPolygonGeometry)
Polygon Shape
MultiPolygon(VectorMultiPolygonGeometry)
MultiPolygon Shape
Implementations§
Trait Implementations§
Source§impl Clone for VectorGeometry
impl Clone for VectorGeometry
Source§fn clone(&self) -> VectorGeometry
fn clone(&self) -> VectorGeometry
Returns a copy 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 VectorGeometry
impl Debug for VectorGeometry
Source§impl<'de> Deserialize<'de> for VectorGeometry
impl<'de> Deserialize<'de> for VectorGeometry
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for VectorGeometry
impl PartialEq for VectorGeometry
Source§impl Serialize for VectorGeometry
impl Serialize for VectorGeometry
impl StructuralPartialEq for VectorGeometry
Auto Trait Implementations§
impl Freeze for VectorGeometry
impl RefUnwindSafe for VectorGeometry
impl Send for VectorGeometry
impl Sync for VectorGeometry
impl Unpin for VectorGeometry
impl UnwindSafe for VectorGeometry
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