pub struct BuiltTile {
pub face: Face,
pub zoom: u8,
pub x: u32,
pub y: u32,
pub data: Vec<u8>,
}Expand description
A built tile that is ready to be written to the filesystem
Fields§
§face: FaceFace of the tile
zoom: u8zoom of the tile
x: u32x tile coordinate
y: u32y tile coordinate
data: Vec<u8>compressed data
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BuiltTile
impl RefUnwindSafe for BuiltTile
impl Send for BuiltTile
impl Sync for BuiltTile
impl Unpin for BuiltTile
impl UnwindSafe for BuiltTile
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§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> 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