pub fn split_lines(segments: &[Segment]) -> Vec<Vec<Segment>>
Split an iterable of segments into lines at newline boundaries.