Struct geo::GeometryCollection [] [src]

pub struct GeometryCollection<T>(pub Vec<Geometry<T>>)
where
    T: Float
;

A collection of Geometrys.

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

Iterating over this objects, yields the component Geometries.

Trait Implementations

impl<T: PartialEq> PartialEq for GeometryCollection<T> where
    T: Float
[src]

[src]

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

[src]

This method tests for !=.

impl<T: Clone> Clone for GeometryCollection<T> where
    T: Float
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for GeometryCollection<T> where
    T: Float
[src]

[src]

Formats the value using the given formatter.

impl<T: Float, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T>
[src]

[src]

Performs the conversion.

impl<T: Float, IG: Into<Geometry<T>>> FromIterator<IG> for GeometryCollection<T>
[src]

[src]

Creates a value from an iterator. Read more

impl<T: Float> IntoIterator for GeometryCollection<T>
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

[src]

Creates an iterator from a value. Read more

impl<T: Float, NT: Float> MapCoords<T, NT> for GeometryCollection<T>
[src]

[src]

Apply a function to all the coordinates in a geometric object, returning a new object. Read more