pub struct MapboxVectorLayer {
pub version: u16,
pub name: String,
pub extent: usize,
pub features: BTreeMap<usize, MapboxVectorFeature>,
pub feature_positions: Vec<usize>,
/* private fields */
}
Expand description
Mapbox specification for a Layer
Fields§
§version: u16
the version of the vector tile layer.
name: String
the name of the layer
extent: usize
the extent of the vector layer
features: BTreeMap<usize, MapboxVectorFeature>
the features in the layer
feature_positions: Vec<usize>
track the positions of the features
Implementations§
Trait Implementations§
Source§impl Debug for MapboxVectorLayer
impl Debug for MapboxVectorLayer
Source§impl From<&mut MapboxVectorLayer> for BaseVectorLayer
impl From<&mut MapboxVectorLayer> for BaseVectorLayer
Source§fn from(mvt: &mut MapboxVectorLayer) -> Self
fn from(mvt: &mut MapboxVectorLayer) -> Self
Converts to this type from the input type.
Source§impl ProtoRead for MapboxVectorLayer
impl ProtoRead for MapboxVectorLayer
Source§impl VectorLayerMethods for MapboxVectorLayer
impl VectorLayerMethods for MapboxVectorLayer
Auto Trait Implementations§
impl Freeze for MapboxVectorLayer
impl !RefUnwindSafe for MapboxVectorLayer
impl !Send for MapboxVectorLayer
impl !Sync for MapboxVectorLayer
impl Unpin for MapboxVectorLayer
impl !UnwindSafe for MapboxVectorLayer
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