pub struct TileLayer01 {
pub name: String,
pub extent: u32,
pub property_names: Vec<String>,
pub features: Vec<TileFeature>,
}Expand description
Row-oriented working form for the optimizer.
All features are stored as a flat Vec<TileFeature> so that sorting is
a single sort_by_cached_key call. The property_names vec is parallel
to every TileFeature::properties slice in this layer.
Fields§
§name: String§extent: u32§property_names: Vec<String>Column names, parallel to TileFeature::properties.
features: Vec<TileFeature>Trait Implementations§
Source§impl Clone for TileLayer01
impl Clone for TileLayer01
Source§fn clone(&self) -> TileLayer01
fn clone(&self) -> TileLayer01
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 moreSource§impl Debug for TileLayer01
impl Debug for TileLayer01
Source§impl From<TileLayer01> for StagedLayer01
FIXME: this should be part of the crate::v01::optimizer::Tile01Encoder::encode
rebuild_properties would use proper shared dict grouping settings
impl From<TileLayer01> for StagedLayer01
FIXME: this should be part of the crate::v01::optimizer::Tile01Encoder::encode
rebuild_properties would use proper shared dict grouping settings
Source§fn from(source: TileLayer01) -> Self
fn from(source: TileLayer01) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TileLayer01
impl RefUnwindSafe for TileLayer01
impl Send for TileLayer01
impl Sync for TileLayer01
impl Unpin for TileLayer01
impl UnsafeUnpin for TileLayer01
impl UnwindSafe for TileLayer01
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