Returns the attribute name atom.
(&self)
| 438 | impl QueryAttribute { |
| 439 | /// Returns the attribute name atom. |
| 440 | pub fn property_kind(&self) -> Option<PropertyKind> { |
| 441 | let c: Cursor = self.attr_name.into(); |
| 442 | CsskitAtomSet::from_bits(c.atom_bits()).to_property_kind() |
| 443 | } |
| 444 | |
| 445 | /// Returns the attribute operator, or None for presence-only selectors like `[name]`. |
| 446 | pub fn operator(&self) -> Option<&AttributeOperator> { |
no test coverage detected