Enum TileLodMode
#[non_exhaustive]pub enum TileLodMode {
Default,
Distance,
Unknown(u32),
}Expand description
Tile LOD algorithms used by map tile options.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Implementations§
§impl TileLodMode
impl TileLodMode
pub fn from_raw(raw: u32) -> TileLodMode
pub fn as_raw(self) -> u32
Trait Implementations§
§impl Clone for TileLodMode
impl Clone for TileLodMode
§fn clone(&self) -> TileLodMode
fn clone(&self) -> TileLodMode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for TileLodMode
impl Debug for TileLodMode
§impl Hash for TileLodMode
impl Hash for TileLodMode
§impl PartialEq for TileLodMode
impl PartialEq for TileLodMode
impl Copy for TileLodMode
impl Eq 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