pub struct WorldPos {
pub x: f64,
pub y: f64,
}Expand description
A position in the global Web-Mercator unit square [0, 1] x [0, 1].
Fields§
§x: f64§y: f64Implementations§
Trait Implementations§
impl Copy for WorldPos
impl StructuralPartialEq for WorldPos
Auto Trait Implementations§
impl Freeze for WorldPos
impl RefUnwindSafe for WorldPos
impl Send for WorldPos
impl Sync for WorldPos
impl Unpin for WorldPos
impl UnsafeUnpin for WorldPos
impl UnwindSafe for WorldPos
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