Struct geo::GeometryCollection
[−]
[src]
pub struct GeometryCollection<T>(pub Vec<Geometry<T>>)
where
T: Float;
A collection of Geometry
s.
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]
T: Float,
fn eq(&self, __arg_0: &GeometryCollection<T>) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GeometryCollection<T>) -> bool
[src]
This method tests for !=
.
impl<T: Clone> Clone for GeometryCollection<T> where
T: Float,
[src]
T: Float,
fn clone(&self) -> GeometryCollection<T>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for GeometryCollection<T> where
T: Float,
[src]
T: Float,
impl<T: Float, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T>
[src]
impl<T: Float, IG: Into<Geometry<T>>> FromIterator<IG> for GeometryCollection<T>
[src]
fn from_iter<I: IntoIterator<Item = IG>>(iter: I) -> Self
[src]
Creates a value from an iterator. Read more
impl<T: Float> IntoIterator for GeometryCollection<T>
[src]
type Item = Geometry<T>
The type of the elements being iterated over.
type IntoIter = IntoIter<Geometry<T>>
Which kind of iterator are we turning this into?
fn into_iter(self) -> Self::IntoIter
[src]
Creates an iterator from a value. Read more