Trait maplibre::vector::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§
fn message_tag() -> &'static dyn MessageTag
fn build_from(
coords: WorldTileCoords,
buffer: OverAlignedVertexBuffer<ShaderVertex, IndexDataType>,
feature_indices: Vec<u32>,
layer_data: Layer
) -> Selfwhere
Self: Sized,
fn coords(&self) -> WorldTileCoords
fn is_empty(&self) -> bool
fn to_layer(self) -> AvailableVectorLayerData
Object Safety§
This trait is not object safe.