Struct TileId
#[non_exhaustive]pub struct TileId {
pub overscaled_z: u32,
pub wrap: i32,
pub canonical_z: u32,
pub canonical_x: u32,
pub canonical_y: u32,
}Expand description
Overscaled tile identity copied from a tile event payload.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.overscaled_z: u32§wrap: i32§canonical_z: u32§canonical_x: u32§canonical_y: u32Trait Implementations§
impl Copy for TileId
impl Eq for TileId
impl StructuralPartialEq for TileId
Auto Trait Implementations§
impl Freeze for TileId
impl RefUnwindSafe for TileId
impl Send for TileId
impl Sync for TileId
impl Unpin for TileId
impl UnsafeUnpin for TileId
impl UnwindSafe for TileId
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