pub trait Polygon<C: CoordinateConcept>: PolygonWithHoles<C> + IntoPoints<C> {
// Required method
fn set(
&mut self,
iter: impl Iterator<Item = <Self as PolygonSet<C>>::Point>,
);
}Expand description
Concept of a polygon which consists of a single closed loop of vertices.
Required Methods§
Sourcefn set(&mut self, iter: impl Iterator<Item = <Self as PolygonSet<C>>::Point>)
fn set(&mut self, iter: impl Iterator<Item = <Self as PolygonSet<C>>::Point>)
Set points from an iterator.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.