Skip to main content

render_rooms

Function render_rooms 

Source
fn render_rooms(
    rooms: impl ExactSizeIterator<Item = PrevWalkRoom>,
    limit: usize,
    sweep: Duration,
) -> Result<String>
Expand description

Ranks the rooms busiest first and renders the top limit.

The header counts every room swept and the footer every pass, whatever the limit leaves out.