#[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 Freeze for tg_geom_type
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