Trait maplibre::raster::LayerRaster

source ·
pub trait LayerRaster: IntoMessage + Debug + Send {
    // Required methods
    fn message_tag() -> &'static dyn MessageTag;
    fn build_from(
        coords: WorldTileCoords,
        layer_name: String,
        image: RgbaImage
    ) -> Self;
    fn coords(&self) -> WorldTileCoords;
    fn to_layer(self) -> AvailableRasterLayerData;
}

Required Methods§

source

fn message_tag() -> &'static dyn MessageTag

source

fn build_from( coords: WorldTileCoords, layer_name: String, image: RgbaImage ) -> Self

source

fn coords(&self) -> WorldTileCoords

source

fn to_layer(self) -> AvailableRasterLayerData

Object Safety§

This trait is not object safe.

Implementors§