pub struct TileFetchInit {
pub tile: MapTileId,
pub url: AzString,
pub style_css: AzString,
}Expand description
Worker-thread input: which tile to fetch, the resolved URL, and the
MapCSS stylesheet to apply when converting features to SVG. Boxed
into the Thread::create init RefAny.
Fields§
§tile: MapTileId§url: AzString§style_css: AzStringCopy of MapTileLayer::style_css (empty = default palette).
Trait Implementations§
Source§impl Clone for TileFetchInit
impl Clone for TileFetchInit
Source§fn clone(&self) -> TileFetchInit
fn clone(&self) -> TileFetchInit
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 moreAuto Trait Implementations§
impl Freeze for TileFetchInit
impl RefUnwindSafe for TileFetchInit
impl Send for TileFetchInit
impl Sync for TileFetchInit
impl Unpin for TileFetchInit
impl UnsafeUnpin for TileFetchInit
impl UnwindSafe for TileFetchInit
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,
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