Trait 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>,
        feature_colors: Vec<[f32; 4]>,
        layer_data: Layer,
        style_layer_id: String,
    ) -> Self
       where Self: Sized;
    fn coords(&self) -> WorldTileCoords;
    fn is_empty(&self) -> bool;
    fn style_layer_id(&self) -> &str;
    fn to_bucket(self) -> AvailableVectorLayerBucket;
}

Required Methods§

Source

fn message_tag() -> &'static dyn MessageTag

Source

fn build_from( coords: WorldTileCoords, buffer: OverAlignedVertexBuffer<ShaderVertex, IndexDataType>, feature_indices: Vec<u32>, feature_colors: Vec<[f32; 4]>, layer_data: Layer, style_layer_id: String, ) -> Self
where Self: Sized,

Source

fn coords(&self) -> WorldTileCoords

Source

fn is_empty(&self) -> bool

Source

fn style_layer_id(&self) -> &str

Source

fn to_bucket(self) -> AvailableVectorLayerBucket

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§