pub struct TileData {
pub x: u32,
pub y: u32,
pub zoom: u8,
pub data: Bytes,
pub mime_type: String,
}Expand description
Tile data with metadata.
Fields§
§x: u32Tile X coordinate
y: u32Tile Y coordinate
zoom: u8Zoom level
data: BytesTile data
mime_type: StringMIME type (e.g., “application/x-protobuf” for MVT)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for TileData
impl RefUnwindSafe for TileData
impl Send for TileData
impl Sync for TileData
impl Unpin for TileData
impl UnsafeUnpin for TileData
impl UnwindSafe for TileData
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