#[non_exhaustive]pub enum DynKind {
Point,
LineString,
Polygon,
MultiPoint,
MultiLineString,
MultiPolygon,
GeometryCollection,
PolyhedralSurface,
}Expand description
Discriminant of DynGeometry. Stable across releases.
Mirrors the result of the geometry::detail::single_tag_of family
plus Boost’s dynamic_geometry_concept’s tag inspection
(geometries/concepts/dynamic_geometry_concept.hpp).
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Point
LineString
Polygon
MultiPoint
MultiLineString
MultiPolygon
GeometryCollection
PolyhedralSurface
Reserved for the PolyhedralSurface variant once the
matching concrete model type lands. v1’s PolyhedralSurface
is trait-only.
Trait Implementations§
impl Copy for DynKind
impl Eq for DynKind
impl StructuralPartialEq for DynKind
Auto Trait Implementations§
impl Freeze for DynKind
impl RefUnwindSafe for DynKind
impl Send for DynKind
impl Sync for DynKind
impl Unpin for DynKind
impl UnsafeUnpin for DynKind
impl UnwindSafe for DynKind
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