Struct geo_types::GeometryCollection [−][src]
pub struct GeometryCollection<T>(pub Vec<Geometry<T>>)
where
T: CoordinateType;
A collection of Geometry
types
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: CoordinateType,
[src]
impl<T: PartialEq> PartialEq for GeometryCollection<T> where
T: CoordinateType,
fn eq(&self, other: &GeometryCollection<T>) -> bool
[src]
fn eq(&self, other: &GeometryCollection<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &GeometryCollection<T>) -> bool
[src]
fn ne(&self, other: &GeometryCollection<T>) -> bool
This method tests for !=
.
impl<T: Clone> Clone for GeometryCollection<T> where
T: CoordinateType,
[src]
impl<T: Clone> Clone for GeometryCollection<T> where
T: CoordinateType,
fn clone(&self) -> GeometryCollection<T>
[src]
fn clone(&self) -> GeometryCollection<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
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: CoordinateType,
[src]
impl<T: Debug> Debug for GeometryCollection<T> where
T: CoordinateType,
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: CoordinateType, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T>
[src]
impl<T: CoordinateType, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T>
impl<T: CoordinateType, IG: Into<Geometry<T>>> FromIterator<IG> for GeometryCollection<T>
[src]
impl<T: CoordinateType, IG: Into<Geometry<T>>> FromIterator<IG> for GeometryCollection<T>
fn from_iter<I: IntoIterator<Item = IG>>(iter: I) -> Self
[src]
fn from_iter<I: IntoIterator<Item = IG>>(iter: I) -> Self
Creates a value from an iterator. Read more
impl<T: CoordinateType> IntoIterator for GeometryCollection<T>
[src]
impl<T: CoordinateType> IntoIterator for GeometryCollection<T>
Auto Trait Implementations
impl<T> Send for GeometryCollection<T> where
T: Send,
impl<T> Send for GeometryCollection<T> where
T: Send,
impl<T> Sync for GeometryCollection<T> where
T: Sync,
impl<T> Sync for GeometryCollection<T> where
T: Sync,