Filter this node iterator to elements matching the given selectors.
(
&'a self,
selectors: &'b str,
caches: &'c mut SelectorCaches,
)
| 418 | |
| 419 | /// Filter this node iterator to elements matching the given selectors. |
| 420 | pub(crate) fn select<'a, 'b, 'c>( |
| 421 | &'a self, |
| 422 | selectors: &'b str, |
| 423 | caches: &'c mut SelectorCaches, |
| 424 | ) -> Result<Select<'a, 'c>, ParseError<'b>> { |
| 425 | select(self, selectors, caches) |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | impl std::ops::Index<NodeId> for Document { |
no test coverage detected