Donner SVG main
0.8.0 ยท 766e862a0.8.0 main
SVG editor and embeddable C⁠+⁠+⁠20 engine.
Loading...
Searching...
No Matches
donner::svg::components::RuleIndexElementKeys Struct Reference

Selector keys held by value, for tests and callers that already have them split. More...

#include "donner/svg/components/style/RuleIndex.h"

Public Member Functions

std::string_view id () const
 RuleIndexElement accessors.
std::string_view typeName () const
 RuleIndexElement accessors.
template<typename Visitor>
void forEachClassName (Visitor &&visit) const
 RuleIndexElement accessors.
template<typename Visitor>
void forEachAttributeLocalName (Visitor &&visit) const
 RuleIndexElement accessors.

Public Attributes

std::string_view idName
 The element's id, or empty.
SmallVector< std::string_view, 4 > classNames
 The class list, split on whitespace.
std::string_view tag
 Local tag name, in any case.
SmallVector< std::string_view, 8 > attributeLocalNames
 Local names of its attributes.

Detailed Description

Selector keys held by value, for tests and callers that already have them split.


The documentation for this struct was generated from the following file: