pub struct BaseGeometry<G = Geometry, M = MValues, B = BBOX> {
pub _type: GeometryType,
pub coordinates: G,
pub m_values: Option<M>,
pub bbox: Option<B>,
}
Expand description
BaseGeometry is the a generic geometry type
Fields§
§_type: GeometryType
The geometry type
coordinates: G
The geometry shape
m_values: Option<M>
The M-Values shape
bbox: Option<B>
The BBox shape
Trait Implementations§
Source§impl<G: Clone, M: Clone, B: Clone> Clone for BaseGeometry<G, M, B>
impl<G: Clone, M: Clone, B: Clone> Clone for BaseGeometry<G, M, B>
Source§fn clone(&self) -> BaseGeometry<G, M, B>
fn clone(&self) -> BaseGeometry<G, M, B>
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<'de, G, M, B> Deserialize<'de> for BaseGeometry<G, M, B>
impl<'de, G, M, B> Deserialize<'de> for BaseGeometry<G, M, B>
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<G, M, B> Serialize for BaseGeometry<G, M, B>
impl<G, M, B> Serialize for BaseGeometry<G, M, B>
impl<G: Copy, M: Copy, B: Copy> Copy for BaseGeometry<G, M, B>
impl<G, M, B> StructuralPartialEq for BaseGeometry<G, M, B>
Auto Trait Implementations§
impl<G, M, B> Freeze for BaseGeometry<G, M, B>
impl<G, M, B> RefUnwindSafe for BaseGeometry<G, M, B>
impl<G, M, B> Send for BaseGeometry<G, M, B>
impl<G, M, B> Sync for BaseGeometry<G, M, B>
impl<G, M, B> Unpin for BaseGeometry<G, M, B>
impl<G, M, B> UnwindSafe for BaseGeometry<G, M, B>
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