pub enum GeoGeometry {
Point([f64; 2]),
LineString(Vec<[f64; 2]>),
}Expand description
Feature geometry: a point or a polyline route.
Variants§
Trait Implementations§
Source§impl Clone for GeoGeometry
impl Clone for GeoGeometry
Source§fn clone(&self) -> GeoGeometry
fn clone(&self) -> GeoGeometry
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 GeoGeometry
impl Debug for GeoGeometry
Source§impl PartialEq for GeoGeometry
impl PartialEq for GeoGeometry
Source§fn eq(&self, other: &GeoGeometry) -> bool
fn eq(&self, other: &GeoGeometry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GeoGeometry
Auto Trait Implementations§
impl Freeze for GeoGeometry
impl RefUnwindSafe for GeoGeometry
impl Send for GeoGeometry
impl Sync for GeoGeometry
impl Unpin for GeoGeometry
impl UnsafeUnpin for GeoGeometry
impl UnwindSafe for GeoGeometry
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