fn render_title(&self, screen: &mut Screen) {
        let title_style = Style::new()
            .align(1, 2)
            .top_margin(self.menu.title_y)
            .colors(self.menu.title_colors)
            .max_height(self.menu.pad_after_title.saturating_add(1));
        screen.styled_text(&self.menu.title, title_style);
    }
/// Renders the title of the menu.
Renders the title of the menu.
Renders the title of the menu .
fn render_title(&self, screen: &mut Screen) {
        let title_style = Style::new()
            .align(1, 2)
            .top_margin(self.menu.title_y)
            .colors(self.menu.title_colors)
            .max_height(self.menu.pad_after_title.saturating_add(1));
        screen.styled_text(&self.menu.title, title_style);
    }
fn render_title ( & self , screen : & mut Screen ) { let title_style = Style :: new ( ) . align ( 1 , 2 ) . top_margin ( self . menu . title_y ) . colors ( self . menu . title_colors ) . max_height ( self . menu . pad_after_title . saturating_add ( 1 ) ) ; screen . styled_text ( & self . menu . title , title_style ) ; }
Renders the title of the menu.
Renders the title of the menu .
&self
screen
&mut Screen
&self
screen
&mut Screen