pub struct TerrainCacheKey {
pub tile: TileId,
pub generation: u64,
pub resolution: u16,
}Expand description
Cache key for a retained terrain task result.
Fields§
§tile: TileIdTile id.
generation: u64Elevation data generation.
resolution: u16Grid resolution.
Trait Implementations§
Source§impl Clone for TerrainCacheKey
impl Clone for TerrainCacheKey
Source§fn clone(&self) -> TerrainCacheKey
fn clone(&self) -> TerrainCacheKey
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 TerrainCacheKey
impl Debug for TerrainCacheKey
Source§impl Hash for TerrainCacheKey
impl Hash for TerrainCacheKey
Source§impl PartialEq for TerrainCacheKey
impl PartialEq for TerrainCacheKey
impl Eq for TerrainCacheKey
impl StructuralPartialEq for TerrainCacheKey
Auto Trait Implementations§
impl Freeze for TerrainCacheKey
impl RefUnwindSafe for TerrainCacheKey
impl Send for TerrainCacheKey
impl Sync for TerrainCacheKey
impl Unpin for TerrainCacheKey
impl UnsafeUnpin for TerrainCacheKey
impl UnwindSafe for TerrainCacheKey
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