pub enum OverlayGeometry {
Polygon(Vec<Coord>),
MultiPolygon(Vec<Vec<Coord>>),
Line(LineString),
MultiLine(Vec<LineString>),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for OverlayGeometry
impl Clone for OverlayGeometry
Source§fn clone(&self) -> OverlayGeometry
fn clone(&self) -> OverlayGeometry
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 OverlayGeometry
impl Debug for OverlayGeometry
Source§impl<'de> Deserialize<'de> for OverlayGeometry
impl<'de> Deserialize<'de> for OverlayGeometry
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 OverlayGeometry
impl PartialEq for OverlayGeometry
Source§impl Serialize for OverlayGeometry
impl Serialize for OverlayGeometry
impl StructuralPartialEq for OverlayGeometry
Auto Trait Implementations§
impl Freeze for OverlayGeometry
impl RefUnwindSafe for OverlayGeometry
impl Send for OverlayGeometry
impl Sync for OverlayGeometry
impl Unpin for OverlayGeometry
impl UnsafeUnpin for OverlayGeometry
impl UnwindSafe for OverlayGeometry
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