Struct geo::MultiPolygon
[−]
[src]
pub struct MultiPolygon(pub Vec<Polygon>);
Trait Implementations
impl Debug for MultiPolygon
[src]
impl Clone for MultiPolygon
[src]
fn clone(&self) -> MultiPolygon
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for MultiPolygon
[src]
fn eq(&self, __arg_0: &MultiPolygon) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MultiPolygon) -> bool
This method tests for !=
.
impl Centroid for MultiPolygon
[src]
fn centroid(&self) -> Option<Point>
Calculation the centroid, see: https://en.wikipedia.org/wiki/Centroid Read more