Function kurbo::segments [−][src]
pub fn segments<I>(elements: I) -> Segments<I::IntoIter>ⓘ where
I: IntoIterator<Item = PathEl>,
Expand description
Transform an iterator over path elements into one over path segments.
See also BezPath::segments
.
This signature is a bit more general, allowing &[PathEl]
slices
and other iterators yielding PathEl
.