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 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 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<VectorGeometryType, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<VectorGeometryType, <__D as Deserializer<'de>>::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§fn from(s: &str) -> VectorGeometryType
fn from(s: &str) -> VectorGeometryType
Converts to this type from the input type.
Source§impl PartialEq for VectorGeometryType
impl PartialEq for VectorGeometryType
Source§impl Serialize for VectorGeometryType
impl Serialize for VectorGeometryType
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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