HasLayer

Trait HasLayer 

Source
pub trait HasLayer {
    // Required method
    fn get_layer(&self) -> Option<String>;
}
Expand description

If a user creates metadata for a VectorFeature, it needs to define a get_layer function

Required Methods§

Source

fn get_layer(&self) -> Option<String>

Get the layer from metadata if it exists

Implementations on Foreign Types§

Source§

impl HasLayer for ()

Source§

impl HasLayer for MValue

Implementors§

Source§

impl HasLayer for TileMetadata

Available on crate feature std only.
Source§

impl HasLayer for GPXMetadata

Source§

impl HasLayer for OSMMetadata

Source§

impl HasLayer for ToTileMetadata