Trait maplibre::vector::transferables::LayerTessellated

source ·
pub trait LayerTessellated: IntoMessage + Debug + Send {
    // Required methods
    fn message_tag() -> &'static dyn MessageTag;
    fn build_from(
        coords: WorldTileCoords,
        buffer: OverAlignedVertexBuffer<ShaderVertex, IndexDataType>,
        feature_indices: Vec<u32>,
        layer_data: Layer
    ) -> Self
       where Self: Sized;
    fn coords(&self) -> WorldTileCoords;
    fn is_empty(&self) -> bool;
    fn to_layer(self) -> AvailableVectorLayerData;
}

Required Methods§

source

fn message_tag() -> &'static dyn MessageTag

source

fn build_from( coords: WorldTileCoords, buffer: OverAlignedVertexBuffer<ShaderVertex, IndexDataType>, feature_indices: Vec<u32>, layer_data: Layer ) -> Self
where Self: Sized,

source

fn coords(&self) -> WorldTileCoords

source

fn is_empty(&self) -> bool

source

fn to_layer(self) -> AvailableVectorLayerData

Object Safety§

This trait is not object safe.

Implementors§