pub enum Value {
Point(Position),
MultiPoint(Vec<Position>),
LineString(ArcIndexes),
MultiLineString(Vec<ArcIndexes>),
Polygon(Vec<ArcIndexes>),
MultiPolygon(Vec<Vec<ArcIndexes>>),
GeometryCollection(Vec<Geometry>),
}
Expand description
The underlying Geometry value (which may contain Position or Arc indexes)
Variants
Point(Position)
MultiPoint(Vec<Position>)
MultiPoint
LineString(ArcIndexes)
LineString
MultiLineString(Vec<ArcIndexes>)
MultiLineString
Polygon(Vec<ArcIndexes>)
MultiPolygon(Vec<Vec<ArcIndexes>>)
MultiPolygon
GeometryCollection(Vec<Geometry>)
GeometryCollection
Implementations
sourceimpl Value
impl Value
pub fn to_json_value(&self) -> JsonValue
Trait Implementations
impl StructuralPartialEq for Value
Auto Trait Implementations
impl RefUnwindSafe for Value
impl Send for Value
impl Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more