#[repr(u8)]pub enum GeomKind {
Point = 0,
LineString = 1,
Polygon = 2,
MultiPoint = 3,
MultiLineString = 4,
MultiPolygon = 5,
GeometryCollection = 6,
Unknown = 7,
}Expand description
Geometry shape class recorded on EncodedTerm::LiteralGeometry
(one byte on the wire; points carry their kind implicitly). The low three
bits carry the kind; the high bits are reserved for geometry flags.
Variants§
Point = 0
POINT.
LineString = 1
LINESTRING.
Polygon = 2
POLYGON.
MultiPoint = 3
MULTIPOINT.
MultiLineString = 4
MULTILINESTRING.
MultiPolygon = 5
MULTIPOLYGON.
GeometryCollection = 6
GEOMETRYCOLLECTION.
Unknown = 7
Anything else (open GeoSPARQL geometry classes).
Implementations§
Trait Implementations§
impl Copy for GeomKind
impl Eq for GeomKind
impl StructuralPartialEq for GeomKind
Auto Trait Implementations§
impl Freeze for GeomKind
impl RefUnwindSafe for GeomKind
impl Send for GeomKind
impl Sync for GeomKind
impl Unpin for GeomKind
impl UnsafeUnpin for GeomKind
impl UnwindSafe for GeomKind
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