fn snap_nodes_to_line(pts: &[Pt2D], pl: &PolyLine) -> Vec<Distance>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator