Leftmost search from the beginning. */
(&self, root: &Node, ngroups: usize)
| 34 | |
| 35 | /* Leftmost search from the beginning. */ |
| 36 | pub fn search(&self, root: &Node, ngroups: usize) -> Option<Caps> { |
| 37 | self.search_from(root, ngroups, 0) |
| 38 | } |
| 39 | |
| 40 | /* Leftmost search starting no earlier than `from`. */ |
| 41 | pub fn search_from(&self, root: &Node, ngroups: usize, from: usize) -> Option<Caps> { |