pub struct PolygonGeometryType;Expand description
Polygon geometry marker.
Trait Implementations§
Source§impl Clone for PolygonGeometryType
impl Clone for PolygonGeometryType
Source§fn clone(&self) -> PolygonGeometryType
fn clone(&self) -> PolygonGeometryType
Returns a duplicate 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 Debug for PolygonGeometryType
impl Debug for PolygonGeometryType
Source§impl Default for PolygonGeometryType
impl Default for PolygonGeometryType
Source§fn default() -> PolygonGeometryType
fn default() -> PolygonGeometryType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PolygonGeometryType
impl<'de> Deserialize<'de> for PolygonGeometryType
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 Hash for PolygonGeometryType
impl Hash for PolygonGeometryType
Source§impl Ord for PolygonGeometryType
impl Ord for PolygonGeometryType
Source§fn cmp(&self, other: &PolygonGeometryType) -> Ordering
fn cmp(&self, other: &PolygonGeometryType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PolygonGeometryType
impl PartialEq for PolygonGeometryType
Source§impl PartialOrd for PolygonGeometryType
impl PartialOrd for PolygonGeometryType
Source§impl Serialize for PolygonGeometryType
impl Serialize for PolygonGeometryType
impl Copy for PolygonGeometryType
impl Eq for PolygonGeometryType
impl StructuralPartialEq for PolygonGeometryType
Auto Trait Implementations§
impl Freeze for PolygonGeometryType
impl RefUnwindSafe for PolygonGeometryType
impl Send for PolygonGeometryType
impl Sync for PolygonGeometryType
impl Unpin for PolygonGeometryType
impl UnwindSafe for PolygonGeometryType
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
Source§impl<P, Poly> CartesianGeometry2dSpecialization<P, PolygonGeometryType> for Polywhere
Poly: CartesianPolygon<Point = P> + GeometryType<Type = PolygonGeometryType, Space = CartesianSpace2d> + Geometry<Point = P> + Polygon,
P: CartesianPoint2d + Copy,
<Poly as Polygon>::Contour: Contour<Point = P> + CartesianGeometry2d<P>,
impl<P, Poly> CartesianGeometry2dSpecialization<P, PolygonGeometryType> for Polywhere
Poly: CartesianPolygon<Point = P> + GeometryType<Type = PolygonGeometryType, Space = CartesianSpace2d> + Geometry<Point = P> + Polygon,
P: CartesianPoint2d + Copy,
<Poly as Polygon>::Contour: Contour<Point = P> + CartesianGeometry2d<P>,
Source§fn is_point_inside_spec<Other>(
&self,
point: &Other,
_tolerance: <P as CartesianPoint2d>::Num,
) -> bool
fn is_point_inside_spec<Other>( &self, point: &Other, _tolerance: <P as CartesianPoint2d>::Num, ) -> bool
Source§fn bounding_rectangle_spec(&self) -> Option<Rect<<P as CartesianPoint2d>::Num>>
fn bounding_rectangle_spec(&self) -> Option<Rect<<P as CartesianPoint2d>::Num>>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> CoordinateMetadata for Twhere
T: ?Sized,
impl<T> CoordinateMetadata for Twhere
T: ?Sized,
Source§impl<Poly, Space> GeometrySpecialization<PolygonGeometryType, Space> for Polywhere
Poly: Polygon + GeometryType<Type = PolygonGeometryType, Space = Space>,
<Poly as Polygon>::Contour: Geometry,
impl<Poly, Space> GeometrySpecialization<PolygonGeometryType, Space> for Polywhere
Poly: Polygon + GeometryType<Type = PolygonGeometryType, Space = Space>,
<Poly as Polygon>::Contour: Geometry,
Source§type Point = <<Poly as Polygon>::Contour as Geometry>::Point
type Point = <<Poly as Polygon>::Contour as Geometry>::Point
Type of the point of the geometry.
Source§fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <Poly as GeometrySpecialization<PolygonGeometryType, Space>>::Point> + ?Sized,
fn project_spec<Proj>(
&self,
projection: &Proj,
) -> Option<Geom<<Proj as Projection>::OutPoint>>where
Proj: Projection<InPoint = <Poly as GeometrySpecialization<PolygonGeometryType, Space>>::Point> + ?Sized,
See
Geometry::project.Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.