pub trait GetRasterTileValue {
// Required method
fn get_raster_tile_value(r: u8, g: u8, b: u8, a: Option<u8>) -> Self;
}Available on crate feature
std only.Expand description
Trait mechanic to parse a raster tile. Could be elevation or RGB(A)
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.