Trait geozero::PropertyProcessor [−][src]
Feature property processing trait.
Usage example:
use geozero::{PropertyProcessor, ColumnValue, error::Result}; struct PropertyPrinter; impl PropertyProcessor for PropertyPrinter { fn property(&mut self, i: usize, n: &str, v: &ColumnValue) -> Result<bool> { println!("columnidx: {} name: {} value: {:?}", i, n, v); Ok(false) // don't abort } }
Provided methods
fn property(
&mut self,
idx: usize,
name: &str,
value: &ColumnValue<'_>
) -> Result<bool>
[src]
&mut self,
idx: usize,
name: &str,
value: &ColumnValue<'_>
) -> Result<bool>
Process property value. Abort processing, if return value is true.