pub enum VectorGeometryType {
Point,
MultiPoint,
LineString,
MultiLineString,
Polygon,
MultiPolygon,
}
Expand description
Enum to represent specific vector geometry types as strings
Variants§
Point
Point
MultiPoint
MultiPoint
LineString
LineString
MultiLineString
MultiLineString
Polygon
Polygon
MultiPolygon
MultiPolygon
Trait Implementations§
Source§impl Clone for VectorGeometryType
impl Clone for VectorGeometryType
Source§fn clone(&self) -> VectorGeometryType
fn clone(&self) -> VectorGeometryType
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 VectorGeometryType
impl Debug for VectorGeometryType
Source§impl Default for VectorGeometryType
impl Default for VectorGeometryType
Source§fn default() -> VectorGeometryType
fn default() -> VectorGeometryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VectorGeometryType
impl<'de> Deserialize<'de> for VectorGeometryType
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 From<&str> for VectorGeometryType
impl From<&str> for VectorGeometryType
Source§impl PartialEq for VectorGeometryType
impl PartialEq for VectorGeometryType
Source§impl Serialize for VectorGeometryType
impl Serialize for VectorGeometryType
impl Copy for VectorGeometryType
impl StructuralPartialEq for VectorGeometryType
Auto Trait Implementations§
impl Freeze for VectorGeometryType
impl RefUnwindSafe for VectorGeometryType
impl Send for VectorGeometryType
impl Sync for VectorGeometryType
impl Unpin for VectorGeometryType
impl UnwindSafe for VectorGeometryType
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