pub struct GeometryCollection {
pub type: GeometryCollectionType,
pub geometries: Vec<Geometry>,
pub bbox: Option<Bbox>,
}Expand description
A GeoJSON GeometryCollection (RFC 7946 §3.1.8): a list of geometries.
Fields§
§type: GeometryCollectionType§geometries: Vec<Geometry>§bbox: Option<Bbox>Implementations§
Trait Implementations§
Source§impl Clone for GeometryCollection
impl Clone for GeometryCollection
Source§fn clone(&self) -> GeometryCollection
fn clone(&self) -> GeometryCollection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GeometryCollection
impl Debug for GeometryCollection
Source§impl<'de> Deserialize<'de> for GeometryCollection
impl<'de> Deserialize<'de> for GeometryCollection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<GeometryCollection> for GeometryCollection
impl From<GeometryCollection> for GeometryCollection
Source§fn from(gc: GeometryCollection<f64>) -> Self
fn from(gc: GeometryCollection<f64>) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GeometryCollection
impl PartialEq for GeometryCollection
Source§impl Serialize for GeometryCollection
impl Serialize for GeometryCollection
impl StructuralPartialEq for GeometryCollection
Source§impl TryFrom<GeometryCollection> for GeometryCollection<f64>
impl TryFrom<GeometryCollection> for GeometryCollection<f64>
Auto Trait Implementations§
impl Freeze for GeometryCollection
impl RefUnwindSafe for GeometryCollection
impl Send for GeometryCollection
impl Sync for GeometryCollection
impl Unpin for GeometryCollection
impl UnsafeUnpin for GeometryCollection
impl UnwindSafe for GeometryCollection
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