pub trait TileReader<P: Clone + Default, D: Clone + Default> {
// Required methods
fn new(
path: PathBuf,
metadata: &Metadata,
face: Face,
zoom: u8,
x: u32,
y: u32,
is_s2: bool,
) -> Self;
fn build_feature(&self) -> VectorFeature<TileMetadata, P, D>;
}Available on crate feature
std only.Expand description
Tile Reading Mechanism
Required Methods§
Sourcefn new(
path: PathBuf,
metadata: &Metadata,
face: Face,
zoom: u8,
x: u32,
y: u32,
is_s2: bool,
) -> Self
fn new( path: PathBuf, metadata: &Metadata, face: Face, zoom: u8, x: u32, y: u32, is_s2: bool, ) -> Self
Create a new Web Mercator Raster Tile Reader
Sourcefn build_feature(&self) -> VectorFeature<TileMetadata, P, D>
fn build_feature(&self) -> VectorFeature<TileMetadata, P, D>
Build a vector feature from the tile
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.