pub struct Peg { /* private fields */ }Expand description
A Peg identifies a partiion (tile) on a map grid at a specific zoom level.
It uses XYZ addressing, with X increasing from west to east and Y increasing from north to south. The X and Y values can range from 0 to 2Z-1.
Implementations§
Trait Implementations§
impl Copy for Peg
Auto Trait Implementations§
impl Freeze for Peg
impl RefUnwindSafe for Peg
impl Send for Peg
impl Sync for Peg
impl Unpin for Peg
impl UnsafeUnpin for Peg
impl UnwindSafe for Peg
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