fn render_options(&self, screen: &mut Screen, range: Range<usize>) {
        for (i, option) in self.menu.options[range.clone()].iter().enumerate() {
            let is_selected =
                range.start + i == self.selected && !self.is_cancelling();
            self.render_option(
                screen,
                option,
                self.y_of_option(range.start + i),
                is_selected,
            );
        }
    }
/// Renders all the options of the given range.
Renders all the options of the given range.
Renders all the options of the given range .
fn render_options(&self, screen: &mut Screen, range: Range<usize>) {
        for (i, option) in self.menu.options[range.clone()].iter().enumerate() {
            let is_selected =
                range.start + i == self.selected && !self.is_cancelling();
            self.render_option(
                screen,
                option,
                self.y_of_option(range.start + i),
                is_selected,
            );
        }
    }
fn render_options ( & self , screen : & mut Screen , range : Range < usize > ) { for ( i , option ) in self . menu . options [ range . clone ( ) ] . iter ( ) . enumerate ( ) { let is_selected = range . start + i == self . selected && ! self . is_cancelling ( ) ; self . render_option ( screen , option , self . y_of_option ( range . start + i ) , is_selected , ) ; } }
Renders all the options of the given range.
Renders all the options of the given range .
&self
screen
&mut Screen
range
Range<usize>
&self
screen
&mut Screen
range
Range<usize>