pub struct Layer {
pub layer_index: usize,
pub version: u32,
pub name: String,
pub feature_count: usize,
pub extent: u32,
}Expand description
A structure representing a layer in a vector tile.
Fields§
§layer_index: usizeThe index of the layer in the vector tile.
version: u32The version of the layer.
name: StringThe name of the layer.
feature_count: usizeThe number of features in the layer.
extent: u32The extent of the layer, representing the size of the tile in pixels. Defaults to 4096.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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