pub enum GeometryType {
MultiPoint,
MultiLineString,
MultiSurface,
CompositeSurface,
Solid,
MultiSolid,
CompositeSolid,
GeometryInstance,
}Expand description
The tag of a Geometry, for callers that need the kind without matching
on the whole enum.
Variants§
MultiPoint
MultiLineString
MultiSurface
CompositeSurface
Solid
MultiSolid
CompositeSolid
GeometryInstance
Implementations§
Source§impl GeometryType
impl GeometryType
Sourcepub fn boundary_depth(self) -> usize
pub fn boundary_depth(self) -> usize
The nesting depth boundaries must have for this geometry type: the
number of array levels between the outermost array and a vertex index.
Trait Implementations§
Source§impl Clone for GeometryType
impl Clone for GeometryType
Source§fn clone(&self) -> GeometryType
fn clone(&self) -> GeometryType
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 moreimpl Copy for GeometryType
Source§impl Debug for GeometryType
impl Debug for GeometryType
Source§impl<'de> Deserialize<'de> for GeometryType
impl<'de> Deserialize<'de> for GeometryType
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
impl Eq for GeometryType
Source§impl PartialEq for GeometryType
impl PartialEq for GeometryType
Source§impl Serialize for GeometryType
impl Serialize for GeometryType
impl StructuralPartialEq for GeometryType
Auto Trait Implementations§
impl Freeze for GeometryType
impl RefUnwindSafe for GeometryType
impl Send for GeometryType
impl Sync for GeometryType
impl Unpin for GeometryType
impl UnsafeUnpin for GeometryType
impl UnwindSafe for GeometryType
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