pub trait TerrainSource {
// Required method
fn chunk_ground(&self, layer: i32, cx: i64, cy: i64) -> Option<&[Grid]>;
}Expand description
Where the resolver reads painted terrain: the ground grids of chunks by
address. A Plane is one; an editor can implement it over its own
chunks, such as ones with unsaved edits.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".