Struct gdal::vector::Feature
[−]
[src]
pub struct Feature<'a> { /* fields omitted */ }
OGR Feature
Methods
impl<'a> Feature<'a>
[src]
unsafe fn _with_c_feature(defn: &'a Defn, c_feature: *const c_void) -> Feature
fn field(&self, name: &str) -> Option<FieldValue>
Get the value of a named field. If the field exists, it returns a
FieldValue
wrapper, that you need to unpack to a base type
(string, float, etc). If the field is missing, returns None
.
fn geometry(&self) -> &Geometry
Get the field's geometry.