GetRasterTileValue

Trait GetRasterTileValue 

Source
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§

Source

fn get_raster_tile_value(r: u8, g: u8, b: u8, a: Option<u8>) -> Self

Get the value of a raster tile pixel

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.

Implementors§