pub trait FeatureProperties {
    fn process_properties<P>(
        &self,
        processor: &mut P
    ) -> Result<bool, GeozeroError>
    where
        P: PropertyProcessor
; fn property<T>(&self, name: &str) -> Result<T, GeozeroError>
    where
        T: PropertyReadType<T>
, { ... } fn property_n<T>(&self, n: usize) -> Result<T, GeozeroError>
    where
        T: PropertyReadType<T>
, { ... } fn properties(
        &self
    ) -> Result<HashMap<String, String, RandomState>, GeozeroError> { ... } }
Expand description

Feature properties processing API

Required Methods

Process feature properties.

Provided Methods

Get property value by name

An error ColumnNotFound can be interpreted as Null value.

Get property value by number

An error ColumnNotFound can be interpreted as Null value.

Return all properties in a HashMap

Use process_properties for zero-copy access

Implementors