pub struct PolygonFeature {
pub value: f64,
pub polygon: Polygon,
}Expand description
A single polygonized feature: a value and its polygon geometry.
Fields§
§value: f64The raster pixel value for this polygon.
polygon: PolygonThe polygon geometry (exterior ring + interior holes).
Trait Implementations§
Source§impl Clone for PolygonFeature
impl Clone for PolygonFeature
Source§fn clone(&self) -> PolygonFeature
fn clone(&self) -> PolygonFeature
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 PolygonFeature
impl RefUnwindSafe for PolygonFeature
impl Send for PolygonFeature
impl Sync for PolygonFeature
impl Unpin for PolygonFeature
impl UnsafeUnpin for PolygonFeature
impl UnwindSafe for PolygonFeature
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