Skip to main content

excerpt_start_rows

Function excerpt_start_rows 

Source
pub fn excerpt_start_rows(excerpts: &[Excerpt]) -> Vec<u32>
Expand description

Composed-row position of each excerpt’s first row, in display order. Equivalent to the prefix sum of excerpt.line_count().