pub enum GeometricTypeKind {
Point,
Line,
LineSegment,
GeometricBox,
GeometricPath,
Polygon,
Circle,
}Expand description
Represents different types of geometric shapes which are commonly used in PostgreSQL/Redshift for spatial operations and geometry-related computations.
Variants§
Point
Point geometry
Line
Line geometry
LineSegment
Line segment geometry
GeometricBox
Box geometry
GeometricPath
Path geometry
Polygon
Polygon geometry
Circle
Circle geometry
Trait Implementations§
Source§impl Clone for GeometricTypeKind
impl Clone for GeometricTypeKind
Source§fn clone(&self) -> GeometricTypeKind
fn clone(&self) -> GeometricTypeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeometricTypeKind
impl Debug for GeometricTypeKind
Source§impl Display for GeometricTypeKind
impl Display for GeometricTypeKind
Source§impl Hash for GeometricTypeKind
impl Hash for GeometricTypeKind
Source§impl Ord for GeometricTypeKind
impl Ord for GeometricTypeKind
Source§fn cmp(&self, other: &GeometricTypeKind) -> Ordering
fn cmp(&self, other: &GeometricTypeKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GeometricTypeKind
impl PartialEq for GeometricTypeKind
Source§impl PartialOrd for GeometricTypeKind
impl PartialOrd for GeometricTypeKind
Source§impl Visit for GeometricTypeKind
impl Visit for GeometricTypeKind
Source§impl VisitMut for GeometricTypeKind
impl VisitMut for GeometricTypeKind
Source§fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
fn visit<V: VisitorMut>(&mut self, visitor: &mut V) -> ControlFlow<V::Break>
Mutably visit this node with the provided
VisitorMut. Read moreimpl Copy for GeometricTypeKind
impl Eq for GeometricTypeKind
impl StructuralPartialEq for GeometricTypeKind
Auto Trait Implementations§
impl Freeze for GeometricTypeKind
impl RefUnwindSafe for GeometricTypeKind
impl Send for GeometricTypeKind
impl Sync for GeometricTypeKind
impl Unpin for GeometricTypeKind
impl UnsafeUnpin for GeometricTypeKind
impl UnwindSafe for GeometricTypeKind
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