Searched refs:titles (Results 1 – 2 of 2) sorted by relevance
108 pub titles: Vec<&'a str>, field113 pub fn new(titles: Vec<&'a str>) -> TabsState { in new()114 TabsState { titles, index: 0 } in new()117 self.index = (self.index + 1) % self.titles.len(); in next()124 self.index = self.titles.len() - 1; in previous()
41 let titles = app in render() localVariable43 .titles in render()47 let tabs = Tabs::new(titles) in render()