pub struct Point2D {
pub x: f64,
pub y: f64,
}Expand description
v7.37.5 ε — PG point building block. Shared by every other
geometric type (lseg / path / box / polygon / circle all
reduce to compositions of Point2D). Packed {x: f64, y: f64},
16 B, on-disk LE field order matches the PG binary point
format byte-for-byte (so a future binary BIND path lands
without rearrangement).
Fields§
§x: f64§y: f64Trait Implementations§
impl Copy for Point2D
impl StructuralPartialEq for Point2D
Auto Trait Implementations§
impl Freeze for Point2D
impl RefUnwindSafe for Point2D
impl Send for Point2D
impl Sync for Point2D
impl Unpin for Point2D
impl UnsafeUnpin for Point2D
impl UnwindSafe for Point2D
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