pub struct ShapefileFeature {
pub record_number: i32,
pub geometry: Option<Geometry>,
pub attributes: HashMap<String, FieldValue>,
}Expand description
A complete Shapefile feature (geometry + attributes)
Fields§
§record_number: i32Record number (1-based)
geometry: Option<Geometry>Geometry
attributes: HashMap<String, FieldValue>Attributes (field name -> value)
Implementations§
Trait Implementations§
Source§impl Clone for ShapefileFeature
impl Clone for ShapefileFeature
Auto Trait Implementations§
impl Freeze for ShapefileFeature
impl RefUnwindSafe for ShapefileFeature
impl Send for ShapefileFeature
impl Sync for ShapefileFeature
impl Unpin for ShapefileFeature
impl UnsafeUnpin for ShapefileFeature
impl UnwindSafe for ShapefileFeature
Blanket Implementations§
impl<T> Allocation for T
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