(&self)
| 938 | } |
| 939 | |
| 940 | pub fn controls(&self) -> impl DoubleEndedIterator<Item = Node<'a>> + use<'a> { |
| 941 | let state = self.tree_state; |
| 942 | let id = self.id; |
| 943 | let data = &self.state.data; |
| 944 | data.controls() |
| 945 | .iter() |
| 946 | .map(move |control_id| state.node_by_id(id.with_same_tree(*control_id)).unwrap()) |
| 947 | } |
| 948 | |
| 949 | pub fn active_descendant(&self) -> Option<Node<'a>> { |
| 950 | self.state |
no test coverage detected