pub struct VectorTaskInput {
pub cache_key: VectorCacheKey,
pub features: FeatureCollection,
pub style: VectorStyle,
pub query_layer_id: Option<String>,
pub query_source_id: Option<String>,
pub query_source_layer: Option<String>,
pub feature_provenance: Vec<Option<FeatureProvenance>>,
pub projection: CameraProjection,
pub terrain_samples: Vec<(GeoCoord, f64)>,
}Expand description
Input for an async vector tessellation task.
Fields§
§cache_key: VectorCacheKeyUnique key for this (layer, data generation) pair.
features: FeatureCollectionThe feature collection to tessellate.
style: VectorStyleThe vector style to apply.
query_layer_id: Option<String>Originating style/runtime layer id, when known.
query_source_id: Option<String>Originating style source id, when known.
query_source_layer: Option<String>Originating style source-layer id, when known.
feature_provenance: Vec<Option<FeatureProvenance>>Per-feature tile/source-layer provenance.
projection: CameraProjectionActive camera projection.
terrain_samples: Vec<(GeoCoord, f64)>Per-vertex terrain elevation samples (coord -> elevation). Empty when terrain is disabled.
Trait Implementations§
Source§impl Clone for VectorTaskInput
impl Clone for VectorTaskInput
Source§fn clone(&self) -> VectorTaskInput
fn clone(&self) -> VectorTaskInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VectorTaskInput
impl RefUnwindSafe for VectorTaskInput
impl Send for VectorTaskInput
impl Sync for VectorTaskInput
impl Unpin for VectorTaskInput
impl UnsafeUnpin for VectorTaskInput
impl UnwindSafe for VectorTaskInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more