pub struct Point {
pub x: CoordinateType,
pub y: CoordinateType,
}Expand description
A simple point struct, intended for lat/lon coordinates with lat=y, lon=x
Fields§
§x: CoordinateType§y: CoordinateTypeTrait Implementations§
Source§impl SpatiallyIndexable for Point
impl SpatiallyIndexable for Point
fn x(&self) -> CoordinateType
fn y(&self) -> CoordinateType
Auto Trait Implementations§
impl Freeze for Point
impl RefUnwindSafe for Point
impl Send for Point
impl Sync for Point
impl Unpin for Point
impl UnwindSafe for Point
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