Skip to main content

keyed_corners

Function keyed_corners 

Source
fn keyed_corners<T>(
    waypoints: &[Waypoint],
    value: impl Fn(&Waypoint) -> T,
) -> Vec<(Option<PathOrdinal>, T)>
Expand description

The stored corners as a working list keyed by the ordinal each holds in the document. Shared by the plan and its replay rather than written twice: both count positions in this list, and a list built two ways is two different meanings for the same InsertAt.