pub trait IsPolyline<'a, T: IsPoint>: GeometricPrimitive + HasVertices<'a, Vertex = T> {
// Required methods
fn segment_count(&self) -> usize;
fn length(&self) -> GeometryMeasure;
}Expand description
A connected sequence of line segments backed by a point table.
Required Methods§
Sourcefn segment_count(&self) -> usize
fn segment_count(&self) -> usize
Returns the number of segments in the polyline.
Sourcefn length(&self) -> GeometryMeasure
fn length(&self) -> GeometryMeasure
Returns the total path length.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".