Skip to main content

scrollbar_parts

Function scrollbar_parts 

Source
pub fn scrollbar_parts(
    area: Rect,
    (rows, view, top): (usize, usize, usize),
) -> Vec<(Rect, BarPart)>
Expand description

The parts of the bar render_scrollbar draws for the same area and rows, each with the cells it covers, top to bottom; nothing when the rows all fit.