Struct h3ron_h3_sys::GeoPolygon
source · [−]#[repr(C)]pub struct GeoPolygon {
pub geoloop: GeoLoop,
pub numHoles: c_int,
pub holes: *mut GeoLoop,
}
Expand description
@struct GeoPolygon @brief Simplified core of GeoJSON Polygon coordinates definition
Fields
geoloop: GeoLoop
< exterior boundary of the polygon
numHoles: c_int
< number of elements in the array pointed to by holes
holes: *mut GeoLoop
< interior boundaries (holes) in the polygon
Trait Implementations
sourceimpl Clone for GeoPolygon
impl Clone for GeoPolygon
sourcefn clone(&self) -> GeoPolygon
fn clone(&self) -> GeoPolygon
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GeoPolygon
impl Debug for GeoPolygon
impl Copy for GeoPolygon
Auto Trait Implementations
impl RefUnwindSafe for GeoPolygon
impl !Send for GeoPolygon
impl !Sync for GeoPolygon
impl Unpin for GeoPolygon
impl UnwindSafe for GeoPolygon
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more