Trait geozero::PropertyProcessor [−][src]
pub trait PropertyProcessor {
fn property(
&mut self,
idx: usize,
name: &str,
value: &ColumnValue<'_>
) -> Result<bool> { ... }
}
Expand description
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
}
}