pub struct Wgs84Pos {
pub lat: f64,
pub lon: f64,
}
Expand description
WGS-84 (EPSG:4326) position.
Fields§
§lat: f64
Latitude (radians)
lon: f64
Longitude (radians)
Implementations§
Trait Implementations§
source§impl From<WebMercatorPos> for Wgs84Pos
impl From<WebMercatorPos> for Wgs84Pos
source§fn from(pos: WebMercatorPos) -> Self
fn from(pos: WebMercatorPos) -> Self
Converts to this type from the input type.
source§impl From<Wgs84Pos> for WebMercatorPos
impl From<Wgs84Pos> for WebMercatorPos
impl Copy for Wgs84Pos
Auto Trait Implementations§
impl RefUnwindSafe for Wgs84Pos
impl Send for Wgs84Pos
impl Sync for Wgs84Pos
impl Unpin for Wgs84Pos
impl UnwindSafe for Wgs84Pos
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