pub struct MapTileSettings {
pub prefetch_zoom_delta: u32,
pub lod_min_radius: f64,
pub lod_scale: f64,
pub lod_pitch_threshold: f64,
pub lod_zoom_shift: f64,
pub lod_mode: TileLodMode,
}Expand description
All the settings for how a map picks the tiles to load.
Its members mean the same as those of MapTileOptions.
See mln_map_tile_settings in the
C API reference.
Fields§
§prefetch_zoom_delta: u32§lod_min_radius: f64§lod_scale: f64§lod_pitch_threshold: f64The pitch, in degrees, above which the map lowers the detail.
lod_zoom_shift: f64§lod_mode: TileLodModeTrait Implementations§
Source§impl Clone for MapTileSettings
impl Clone for MapTileSettings
Source§fn clone(&self) -> MapTileSettings
fn clone(&self) -> MapTileSettings
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 MapTileSettings
Source§impl Debug for MapTileSettings
impl Debug for MapTileSettings
Source§impl Default for MapTileSettings
impl Default for MapTileSettings
Source§fn default() -> MapTileSettings
fn default() -> MapTileSettings
Returns the “default value” for a type. Read more
Source§impl PartialEq for MapTileSettings
impl PartialEq for MapTileSettings
impl StructuralPartialEq for MapTileSettings
Auto Trait Implementations§
impl Freeze for MapTileSettings
impl RefUnwindSafe for MapTileSettings
impl Send for MapTileSettings
impl Sync for MapTileSettings
impl Unpin for MapTileSettings
impl UnsafeUnpin for MapTileSettings
impl UnwindSafe for MapTileSettings
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