pub struct Feature {
pub id: Option<u64>,
pub properties: Properties,
pub geometry: Geometry,
}
Expand description
Component to build either an S2 or WG Feature
Fields§
§id: Option<u64>
Unique identifier
properties: Properties
Properties of the feature
geometry: Geometry
Geometry of the feature
Trait Implementations§
source§impl PartialEq for Feature
impl PartialEq for Feature
impl StructuralPartialEq for Feature
Auto Trait Implementations§
impl Freeze for Feature
impl RefUnwindSafe for Feature
impl Send for Feature
impl Sync for Feature
impl Unpin 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