pub enum TileLodMode {
Default,
Distance,
Unknown(u32),
}Expand description
How the map picks the level of detail of its tiles.
See mln_tile_lod_mode in the
C API reference.
Variants§
Default
Uses the most detail at the center of the screen.
Distance
Uses the most detail closest to the camera.
Unknown(u32)
Implementations§
Trait Implementations§
Source§impl Clone for TileLodMode
impl Clone for TileLodMode
Source§fn clone(&self) -> TileLodMode
fn clone(&self) -> TileLodMode
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 TileLodMode
Source§impl Debug for TileLodMode
impl Debug for TileLodMode
Source§impl Default for TileLodMode
impl Default for TileLodMode
impl Eq for TileLodMode
Source§impl Hash for TileLodMode
impl Hash for TileLodMode
Source§impl PartialEq for TileLodMode
impl PartialEq for TileLodMode
impl StructuralPartialEq for TileLodMode
Auto Trait Implementations§
impl Freeze for TileLodMode
impl RefUnwindSafe for TileLodMode
impl Send for TileLodMode
impl Sync for TileLodMode
impl Unpin for TileLodMode
impl UnsafeUnpin for TileLodMode
impl UnwindSafe for TileLodMode
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