Enum tg_sys::tg_geom_type
source · #[repr(C)]pub enum tg_geom_type {
TG_POINT = 1,
TG_LINESTRING = 2,
TG_POLYGON = 3,
TG_MULTIPOINT = 4,
TG_MULTILINESTRING = 5,
TG_MULTIPOLYGON = 6,
TG_GEOMETRYCOLLECTION = 7,
}Expand description
Geometry types.
All tg_geom are one of the following underlying types.
@see tg_geom_typeof() @see tg_geom_type_string() @see GeometryAccessors
Variants§
TG_POINT = 1
< Point
TG_LINESTRING = 2
< LineString
TG_POLYGON = 3
< Polygon
TG_MULTIPOINT = 4
< MultiPoint, collection of points
TG_MULTILINESTRING = 5
< MultiLineString, collection of linestrings
TG_MULTIPOLYGON = 6
< MultiPolygon, collection of polygons
TG_GEOMETRYCOLLECTION = 7
< GeometryCollection, collection of geometries
Auto Trait Implementations§
impl RefUnwindSafe for tg_geom_type
impl Send for tg_geom_type
impl Sync for tg_geom_type
impl Unpin for tg_geom_type
impl UnwindSafe for tg_geom_type
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