pub trait PolyVertex: Vertex {
// Required method
fn synthetic_at(position: Coord<i32>) -> Self;
}Expand description
A Vertex the polygon slicer can also synthesize at a chosen position, for the clip-boundary
corner vertices it must insert to keep a clipped ring closed.
These synthetic vertices live strictly outside the tile’s buffered box (so they are invisible to a
renderer that clips to the tile) and are dropped when Mosaic reassembles, so
their payload is pure filler — hence Default. Kept separate from Vertex so the polyline path
never sees the extra bound.
Required Methods§
Sourcefn synthetic_at(position: Coord<i32>) -> Self
fn synthetic_at(position: Coord<i32>) -> Self
A synthetic vertex at position, carrying a default (filler) payload.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".