MCPcopy Create free account
hub / github.com/csskit/csskit / selectors

Method selectors

crates/csskit_ast/src/selector/query.rs:39–41  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

37
38impl<'a> QuerySelectorList<'a> {
39 pub fn selectors(&self) -> impl Iterator<Item = &QueryCompoundSelector<'a>> {
40 (&self.0).into_iter().map(|(item, _comma)| item)
41 }
42}
43
44impl<'a> NodeWithMetadata<QuerySelectorMetadata> for QuerySelectorList<'a> {

Callers 1

newMethod · 0.80

Calls 1

into_iterMethod · 0.80

Tested by

no test coverage detected