Owned immutable-at-use rules; constructing typed values may allocate and throw.
More...
#include <style.hpp>
|
|
| ~StyleSheet ()=default |
| | Destroy owned values. Deliberately suppress implicit noexcept moves: checked MSVC container moves can allocate; copy-based transfers allow allocation failure to propagate.
|
| bool | operator== (const StyleSheet &other) const =default |
|
| std::vector< StyleRule > | rules |
| | Source-order rules, at most MAX_STYLE_RULES when installed.
|
|
std::optional< NodeId > | scope {} |
| | Optional exact node restriction; preserves selector specificity and source metadata.
|
Owned immutable-at-use rules; constructing typed values may allocate and throw.
◆ operator==()
| bool portals::StyleSheet::operator== |
( |
const StyleSheet & | other | ) |
const |
|
default |
- Parameters
-
| other | Owning value to compare. |
- Returns
- Whether all typed fields are equal.
◆ rules
| std::vector<StyleRule> portals::StyleSheet::rules |
Initial value: =
std::vector<StyleRule>(0)
Source-order rules, at most MAX_STYLE_RULES when installed.
The documentation for this struct was generated from the following file: