pub struct TerrainTaskOutput {
pub tile: TileId,
pub mesh: TerrainMeshData,
pub hillshade: PreparedHillshadeRaster,
pub generation: u64,
}Expand description
Output from an async terrain mesh generation task.
Fields§
§tile: TileIdThe tile this result is for.
mesh: TerrainMeshDataGenerated terrain mesh descriptor.
hillshade: PreparedHillshadeRasterPrepared hillshade raster for this tile.
generation: u64Generation counter for cache invalidation.
Auto Trait Implementations§
impl Freeze for TerrainTaskOutput
impl RefUnwindSafe for TerrainTaskOutput
impl Send for TerrainTaskOutput
impl Sync for TerrainTaskOutput
impl Unpin for TerrainTaskOutput
impl UnsafeUnpin for TerrainTaskOutput
impl UnwindSafe for TerrainTaskOutput
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