#[repr(u32)]pub enum GeomType {
Point = 1,
LineString = 2,
Polygon = 3,
MultiPoint = 4,
MultiLineString = 5,
MultiPolygon = 6,
GeometryCollection = 7,
}Variants§
Point = 1
LineString = 2
Polygon = 3
MultiPoint = 4
MultiLineString = 5
MultiPolygon = 6
GeometryCollection = 7
Implementations§
Trait Implementations§
Source§impl From<GeomType> for tg_geom_type
impl From<GeomType> for tg_geom_type
Source§impl From<u32> for GeomType
impl From<u32> for GeomType
Source§fn from(t: tg_geom_type) -> Self
fn from(t: tg_geom_type) -> Self
Converts to this type from the input type.
impl Copy for GeomType
impl Eq for GeomType
impl StructuralPartialEq for GeomType
Auto Trait Implementations§
impl Freeze for GeomType
impl RefUnwindSafe for GeomType
impl Send for GeomType
impl Sync for GeomType
impl Unpin for GeomType
impl UnwindSafe for GeomType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)