Trait PolygonWithHoles

Source
pub trait PolygonWithHoles<C: CoordinateConcept>: PolygonSet<C> {
    // Required method
    fn num_holes(&self) -> usize;
}
Expand description

Concept of a polygon with holes.

Required Methods§

Source

fn num_holes(&self) -> usize

Get the number of holes.

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.

Implementors§