Trait maplibre::vector::LayerTessellated
source · [−]pub trait LayerTessellated: IntoMessage + Debug + Send {
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
sourcefn build_from(
fn build_from(
coords: WorldTileCoords,
buffer: OverAlignedVertexBuffer<ShaderVertex, IndexDataType>,
feature_indices: Vec<u32>,
layer_data: Layer
) -> Selfwhere
Self: Sized,
source
fn coords(&self) -> WorldTileCoords
source