Trait maplibre::vector::transferables::LayerIndexed

source ·
pub trait LayerIndexed: IntoMessage + Debug + Send {
    // Required methods
    fn message_tag() -> &'static dyn MessageTag;
    fn build_from(coords: WorldTileCoords, index: TileIndex) -> Self
       where Self: Sized;
    fn coords(&self) -> WorldTileCoords;
    fn to_tile_index(self) -> TileIndex;
}

Required Methods§

source

fn message_tag() -> &'static dyn MessageTag

source

fn build_from(coords: WorldTileCoords, index: TileIndex) -> Self
where Self: Sized,

source

fn coords(&self) -> WorldTileCoords

source

fn to_tile_index(self) -> TileIndex

Object Safety§

This trait is not object safe.

Implementors§