fn render_down_arrow(
        &self,
        screen: &mut Screen,
        style: Style<Color2>,
        range: &mut Range<usize>,
    ) {
        if range.end < self.menu.options.len() {
            let option_y = self.y_of_option(range.end);
            let style = style.top_margin(option_y);
            screen.styled_text(&tstring!["V"], style);
        } else {
            range.end = self.menu.options.len();
        }
    }
/// Renders the DOWN arrow and updates the given range of the screen.
Renders the DOWN arrow and updates the given range of the screen.
Renders the DOWN arrow and updates the given range of the screen .
fn render_down_arrow(
        &self,
        screen: &mut Screen,
        style: Style<Color2>,
        range: &mut Range<usize>,
    ) {
        if range.end < self.menu.options.len() {
            let option_y = self.y_of_option(range.end);
            let style = style.top_margin(option_y);
            screen.styled_text(&tstring!["V"], style);
        } else {
            range.end = self.menu.options.len();
        }
    }
fn render_down_arrow ( & self , screen : & mut Screen , style : Style < Color2 > , range : & mut Range < usize > , ) { if range . end < self . menu . options . len ( ) { let option_y = self . y_of_option ( range . end ) ; let style = style . top_margin ( option_y ) ; screen . styled_text ( & tstring ! [ " " ] , style ) ; } else { range . end = self . menu . options . len ( ) ; } }
Renders the DOWN arrow and updates the given range of the screen.
Renders the DOWN arrow and updates the given range of the screen .
&self
screen
&mut Screen
style
Style<Color2>
range
&mut Range<usize>
&self
screen
&mut Screen
style
Style<Color2>
range
&mut Range<usize>