Struct geo_types::MultiPolygon[][src]

pub struct MultiPolygon<T>(pub Vec<Polygon<T>>)
where
    T: CoordinateType
;

A collection of Polygons

Can be created from a Vec of Polygons, or collected from an Iterator which yields Polygons.

Iterating over this object yields the component Polygons.

Trait Implementations

impl<T: PartialEq> PartialEq for MultiPolygon<T> where
    T: CoordinateType
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T: Clone> Clone for MultiPolygon<T> where
    T: CoordinateType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for MultiPolygon<T> where
    T: CoordinateType
[src]

Formats the value using the given formatter. Read more

impl<T: CoordinateType, IP: Into<Polygon<T>>> From<IP> for MultiPolygon<T>
[src]

Performs the conversion.

impl<T: CoordinateType, IP: Into<Polygon<T>>> FromIterator<IP> for MultiPolygon<T>
[src]

Creates a value from an iterator. Read more

impl<T: CoordinateType> IntoIterator for MultiPolygon<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<T: CoordinateType> From<MultiPolygon<T>> for Geometry<T>
[src]

Performs the conversion.

Auto Trait Implementations

impl<T> Send for MultiPolygon<T> where
    T: Send

impl<T> Sync for MultiPolygon<T> where
    T: Sync