pub struct GeometryData(pub Value);Expand description
Geometry data representation.
Currently only supports GeoJSON format. Native geometry types (Point, LineString, Polygon, etc.) may be added in the future.
Tuple Fields§
§0: ValueTrait Implementations§
Source§impl Clone for GeometryData
impl Clone for GeometryData
Source§fn clone(&self) -> GeometryData
fn clone(&self) -> GeometryData
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 GeometryData
impl Debug for GeometryData
Source§impl<'de> Deserialize<'de> for GeometryData
impl<'de> Deserialize<'de> for GeometryData
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 PartialEq for GeometryData
impl PartialEq for GeometryData
Source§impl Serialize for GeometryData
impl Serialize for GeometryData
impl StructuralPartialEq for GeometryData
Auto Trait Implementations§
impl Freeze for GeometryData
impl RefUnwindSafe for GeometryData
impl Send for GeometryData
impl Sync for GeometryData
impl Unpin for GeometryData
impl UnsafeUnpin for GeometryData
impl UnwindSafe for GeometryData
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