Struct mvt::WebMercatorPos
source · pub struct WebMercatorPos {
pub x: f64,
pub y: f64,
}
Expand description
Web mercator (EPSG:3857) position.
Fields§
§x: f64
X coordinate (meters)
y: f64
Y coordinate (meters)
Implementations§
Trait Implementations§
source§impl Clone for WebMercatorPos
impl Clone for WebMercatorPos
source§fn clone(&self) -> WebMercatorPos
fn clone(&self) -> WebMercatorPos
Returns a copy 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 WebMercatorPos
impl Debug for WebMercatorPos
source§impl From<WebMercatorPos> for Pt<f64>
impl From<WebMercatorPos> for Pt<f64>
source§fn from(pos: WebMercatorPos) -> Self
fn from(pos: WebMercatorPos) -> Self
Converts to this type from the input type.
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 WebMercatorPos
Auto Trait Implementations§
impl RefUnwindSafe for WebMercatorPos
impl Send for WebMercatorPos
impl Sync for WebMercatorPos
impl Unpin for WebMercatorPos
impl UnwindSafe for WebMercatorPos
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