fn render_footer<B: Backend>(f: &mut Frame<'_, B>, rec: Rect, app: &mut TuiApp) {
    let bottom_chunks = Layout::default()
        .direction(Direction::Horizontal)
        .constraints([Constraint::Percentage(75), Constraint::Percentage(25)].as_ref())
        .split(rec);
    render_history(f, app, bottom_chunks[0]);
    render_ping_frequency(f, app, bottom_chunks[1]);
    if app.show_help {
        render_help(f);
    }
}
/// Render the footer.
///
/// This contains the history and frequency charts.
Render the footer.
This contains the history and frequency charts.
Render the footer . This contains the history and frequency charts .
fn render_footer<B: Backend>(f: &mut Frame<'_, B>, rec: Rect, app: &mut TuiApp) {
    let bottom_chunks = Layout::default()
        .direction(Direction::Horizontal)
        .constraints([Constraint::Percentage(75), Constraint::Percentage(25)].as_ref())
        .split(rec);
    render_history(f, app, bottom_chunks[0]);
    render_ping_frequency(f, app, bottom_chunks[1]);
    if app.show_help {
        render_help(f);
    }
}
fn render_footer < B : Backend > ( f : & mut Frame < ' _ , B > , rec : Rect , app : & mut TuiApp ) { let bottom_chunks = Layout :: default ( ) . direction ( Direction :: Horizontal ) . constraints ( [ Constraint :: Percentage ( 75 ) , Constraint :: Percentage ( 25 ) ] . as_ref ( ) ) . split ( rec ) ; render_history ( f , app , bottom_chunks [ 0 ] ) ; render_ping_frequency ( f , app , bottom_chunks [ 1 ] ) ; if app . show_help { render_help ( f ) ; } }
Render the footer.
Render the footer .
f
&mut Frame<'_, B>
rec
Rect
app
&mut TuiApp