pub struct Feature {
pub geometry: Geometry,
pub properties: HashMap<String, PropertyValue>,
}Expand description
A geographic feature: geometry + key-value properties.
Mirrors a GeoJSON Feature object.
Fields§
§geometry: GeometryThe geometry of the feature.
properties: HashMap<String, PropertyValue>Key-value properties associated with the feature.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin for Feature
impl UnsafeUnpin for Feature
impl UnwindSafe for Feature
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