MCPcopy Create free account
hub / github.com/Stranger6667/css-inline / select

Method select

css-inline/src/html/document.rs:420–426  ·  view source on GitHub ↗

Filter this node iterator to elements matching the given selectors.

(
        &'a self,
        selectors: &'b str,
        caches: &'c mut SelectorCaches,
    )

Source from the content-addressed store, hash-verified

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
429impl std::ops::Index<NodeId> for Document {

Callers 1

inline_to_implMethod · 0.80

Calls 1

selectFunction · 0.85

Tested by

no test coverage detected