pub struct MultiGeometry<T: CoordType = f64> {
pub geometries: Vec<Geometry<T>>,
pub attrs: HashMap<String, String>,
}
Expand description
kml:MultiGeometry
, 10.2 in the
KML specification
Fields§
§geometries: Vec<Geometry<T>>
§attrs: HashMap<String, String>
Implementations§
Trait Implementations§
Source§impl<T: Clone + CoordType> Clone for MultiGeometry<T>
impl<T: Clone + CoordType> Clone for MultiGeometry<T>
Source§fn clone(&self) -> MultiGeometry<T>
fn clone(&self) -> MultiGeometry<T>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T: Default + CoordType> Default for MultiGeometry<T>
impl<T: Default + CoordType> Default for MultiGeometry<T>
Source§fn default() -> MultiGeometry<T>
fn default() -> MultiGeometry<T>
Returns the “default value” for a type. Read more
Source§impl<T> From<GeometryCollection<T>> for MultiGeometry<T>
Available on crate feature geo-types
only.
impl<T> From<GeometryCollection<T>> for MultiGeometry<T>
Available on crate feature
geo-types
only.Source§fn from(val: GeometryCollection<T>) -> MultiGeometry<T>
fn from(val: GeometryCollection<T>) -> MultiGeometry<T>
Converts to this type from the input type.
Source§impl<T> From<MultiLineString<T>> for MultiGeometry<T>
Available on crate feature geo-types
only.
impl<T> From<MultiLineString<T>> for MultiGeometry<T>
Available on crate feature
geo-types
only.Source§fn from(val: MultiLineString<T>) -> MultiGeometry<T>
fn from(val: MultiLineString<T>) -> MultiGeometry<T>
Converts to this type from the input type.
Source§impl<T> From<MultiPoint<T>> for MultiGeometry<T>
Available on crate feature geo-types
only.
impl<T> From<MultiPoint<T>> for MultiGeometry<T>
Available on crate feature
geo-types
only.Source§fn from(val: MultiPoint<T>) -> MultiGeometry<T>
fn from(val: MultiPoint<T>) -> MultiGeometry<T>
Converts to this type from the input type.
Source§impl<T> From<MultiPolygon<T>> for MultiGeometry<T>
Available on crate feature geo-types
only.
impl<T> From<MultiPolygon<T>> for MultiGeometry<T>
Available on crate feature
geo-types
only.Source§fn from(val: MultiPolygon<T>) -> MultiGeometry<T>
fn from(val: MultiPolygon<T>) -> MultiGeometry<T>
Converts to this type from the input type.
Source§impl<T> TryFrom<MultiGeometry<T>> for GeometryCollection<T>where
T: CoordType,
Available on crate feature geo-types
only.
impl<T> TryFrom<MultiGeometry<T>> for GeometryCollection<T>where
T: CoordType,
Available on crate feature
geo-types
only.impl<T: CoordType> StructuralPartialEq for MultiGeometry<T>
Auto Trait Implementations§
impl<T> Freeze for MultiGeometry<T>
impl<T> RefUnwindSafe for MultiGeometry<T>where
T: RefUnwindSafe,
impl<T> Send for MultiGeometry<T>where
T: Send,
impl<T> Sync for MultiGeometry<T>where
T: Sync,
impl<T> Unpin for MultiGeometry<T>where
T: Unpin,
impl<T> UnwindSafe for MultiGeometry<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more