Struct geo_types::GeometryCollection
source · pub struct GeometryCollection<T>(pub Vec<Geometry<T>>)
where
T: CoordinateType;
Expand description
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.
Tuple Fields
0: Vec<Geometry<T>>
Trait Implementations
sourceimpl<T: Clone> Clone for GeometryCollection<T>where
T: CoordinateType,
impl<T: Clone> Clone for GeometryCollection<T>where
T: CoordinateType,
sourcefn clone(&self) -> GeometryCollection<T>
fn clone(&self) -> GeometryCollection<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: Debug> Debug for GeometryCollection<T>where
T: CoordinateType,
impl<T: Debug> Debug for GeometryCollection<T>where
T: CoordinateType,
sourceimpl<T: CoordinateType, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T>
impl<T: CoordinateType, IG: Into<Geometry<T>>> From<IG> for GeometryCollection<T>
sourceimpl<T: CoordinateType, IG: Into<Geometry<T>>> FromIterator<IG> for GeometryCollection<T>
impl<T: CoordinateType, IG: Into<Geometry<T>>> FromIterator<IG> for GeometryCollection<T>
sourcefn from_iter<I: IntoIterator<Item = IG>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = IG>>(iter: I) -> Self
Creates a value from an iterator. Read more
sourceimpl<T: CoordinateType> IntoIterator for GeometryCollection<T>
impl<T: CoordinateType> IntoIterator for GeometryCollection<T>
sourceimpl<T: PartialEq> PartialEq<GeometryCollection<T>> for GeometryCollection<T>where
T: CoordinateType,
impl<T: PartialEq> PartialEq<GeometryCollection<T>> for GeometryCollection<T>where
T: CoordinateType,
sourcefn eq(&self, other: &GeometryCollection<T>) -> bool
fn eq(&self, other: &GeometryCollection<T>) -> bool
impl<T> StructuralPartialEq for GeometryCollection<T>where
T: CoordinateType,
Auto Trait Implementations
impl<T> RefUnwindSafe for GeometryCollection<T>where
T: RefUnwindSafe,
impl<T> Send for GeometryCollection<T>where
T: Send,
impl<T> Sync for GeometryCollection<T>where
T: Sync,
impl<T> Unpin for GeometryCollection<T>where
T: Unpin,
impl<T> UnwindSafe for GeometryCollection<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more