/// Select next row from current selection. Wrap to top
Select next row from current selection. Wrap to top
Select next row from current selection . Wrap to top
pub fn next(&mut self) {
        if !self.data.is_empty() {
            let i = match self.state.selected() {
                Some(i) => {
                    if i >= self.data.len() - 1 {
                        0
                    } else {
                        i + 1
                    }
                }
                None => 0,
            };
            self.state.select(Some(i));
        }
    }
pub fn next ( & mut self ) { if ! self . data . is_empty ( ) { let i = match self . state . selected ( ) { Some ( i ) => { if i >= self . data . len ( ) - 1 { 0 } else { i + 1 } } None => 0 , } ; self . state . select ( Some ( i ) ) ; } }
Select next row from current selection.
Select next row from current selection .
&mut self