pub struct CanonicalTileId {
pub z: u32,
pub x: u32,
pub y: u32,
}Expand description
A tile’s zoom level z, column x, and row y, with row 0 at the north.
See mln_canonical_tile_id in the
C API reference.
Fields§
§z: u32§x: u32§y: u32Implementations§
Trait Implementations§
Source§impl Clone for CanonicalTileId
impl Clone for CanonicalTileId
Source§fn clone(&self) -> CanonicalTileId
fn clone(&self) -> CanonicalTileId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CanonicalTileId
Source§impl Debug for CanonicalTileId
impl Debug for CanonicalTileId
Source§impl Default for CanonicalTileId
impl Default for CanonicalTileId
Source§fn default() -> CanonicalTileId
fn default() -> CanonicalTileId
Returns the “default value” for a type. Read more
Source§impl PartialEq for CanonicalTileId
impl PartialEq for CanonicalTileId
impl StructuralPartialEq for CanonicalTileId
Auto Trait Implementations§
impl Freeze for CanonicalTileId
impl RefUnwindSafe for CanonicalTileId
impl Send for CanonicalTileId
impl Sync for CanonicalTileId
impl Unpin for CanonicalTileId
impl UnsafeUnpin for CanonicalTileId
impl UnwindSafe for CanonicalTileId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more