pub enum DrawType {
Points = 1,
Lines = 2,
Polygons = 3,
Points3D = 4,
Lines3D = 5,
Polygons3D = 6,
Raster = 7,
Grid = 8,
}Expand description
1: points, 2: lines, 3: polys, 4: points3D, 5: lines3D, 6: polys3D
Variants§
Points = 1
Collection of points
Lines = 2
Collection of lines
Polygons = 3
Collection of polygons
Points3D = 4
Collection of 3D points
Lines3D = 5
Collection of 3D lines
Polygons3D = 6
Collection of 3D polygons
Raster = 7
Raster data
Grid = 8
Collection of points
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DrawType
impl<'de> Deserialize<'de> for DrawType
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<M: Clone, P: MValueCompatible, D: MValueCompatible> From<&VectorFeature<M, P, D>> for DrawType
impl<M: Clone, P: MValueCompatible, D: MValueCompatible> From<&VectorFeature<M, P, D>> for DrawType
Source§fn from(feature: &VectorFeature<M, P, D>) -> DrawType
fn from(feature: &VectorFeature<M, P, D>) -> DrawType
Converts to this type from the input type.
Source§impl<D: MValueCompatible> From<&VectorGeometry<D>> for DrawType
impl<D: MValueCompatible> From<&VectorGeometry<D>> for DrawType
Source§fn from(geometry: &VectorGeometry<D>) -> DrawType
fn from(geometry: &VectorGeometry<D>) -> DrawType
Converts to this type from the input type.
impl Copy for DrawType
impl StructuralPartialEq for DrawType
Auto Trait Implementations§
impl Freeze for DrawType
impl RefUnwindSafe for DrawType
impl Send for DrawType
impl Sync for DrawType
impl Unpin for DrawType
impl UnwindSafe for DrawType
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