pub enum SourcePriority {
Raster,
Vector,
Terrain,
}Expand description
Priority class for a tile source.
Higher-priority classes receive a larger share of the global per-frame request budget. The numeric weight is used directly in the proportional budget allocation.
Variants§
Raster
Raster imagery – the most user-visible layer.
Vector
Streamed vector tile sources.
Terrain
Terrain DEM elevation data.
Trait Implementations§
Source§impl Clone for SourcePriority
impl Clone for SourcePriority
Source§fn clone(&self) -> SourcePriority
fn clone(&self) -> SourcePriority
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 moreSource§impl Debug for SourcePriority
impl Debug for SourcePriority
Source§impl Hash for SourcePriority
impl Hash for SourcePriority
Source§impl PartialEq for SourcePriority
impl PartialEq for SourcePriority
impl Copy for SourcePriority
impl Eq for SourcePriority
impl StructuralPartialEq for SourcePriority
Auto Trait Implementations§
impl Freeze for SourcePriority
impl RefUnwindSafe for SourcePriority
impl Send for SourcePriority
impl Sync for SourcePriority
impl Unpin for SourcePriority
impl UnsafeUnpin for SourcePriority
impl UnwindSafe for SourcePriority
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