pub struct OfflineGeometryRegionDefinition {
pub style_url: String,
pub geometry: String,
pub min_zoom: f64,
pub max_zoom: f64,
pub pixel_ratio: f32,
pub include_ideographs: bool,
}Expand description
An offline region that covers a GeoJSON geometry.
The members other than geometry mean the same as those of
OfflineTilePyramidRegionDefinition.
See mln_offline_geometry_region_definition in the
C API reference.
Fields§
§style_url: String§geometry: String§min_zoom: f64§max_zoom: f64§pixel_ratio: f32§include_ideographs: boolImplementations§
Trait Implementations§
Source§impl Clone for OfflineGeometryRegionDefinition
impl Clone for OfflineGeometryRegionDefinition
Source§fn clone(&self) -> OfflineGeometryRegionDefinition
fn clone(&self) -> OfflineGeometryRegionDefinition
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 StructuralPartialEq for OfflineGeometryRegionDefinition
Auto Trait Implementations§
impl Freeze for OfflineGeometryRegionDefinition
impl RefUnwindSafe for OfflineGeometryRegionDefinition
impl Send for OfflineGeometryRegionDefinition
impl Sync for OfflineGeometryRegionDefinition
impl Unpin for OfflineGeometryRegionDefinition
impl UnsafeUnpin for OfflineGeometryRegionDefinition
impl UnwindSafe for OfflineGeometryRegionDefinition
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