pub struct ShapefileFeature {
pub record_number: i32,
pub geometry: Option<Geometry>,
pub attributes: HashMap<String, PropertyValue>,
}Expand description
A complete Shapefile feature (geometry + attributes)
Fields§
§record_number: i32Record number (1-based)
geometry: Option<Geometry>Geometry
attributes: HashMap<String, PropertyValue>Attributes (field name -> value)
Implementations§
Trait Implementations§
Source§impl Clone for ShapefileFeature
impl Clone for ShapefileFeature
Source§fn clone(&self) -> ShapefileFeature
fn clone(&self) -> ShapefileFeature
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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§
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