|
Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
|
One owned selector/declaration pair in source order. More...
#include <style.hpp>
Public Member Functions | |
| ~StyleRule ()=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 StyleRule &other) const |
Public Attributes | |
| StyleSelector | selector |
| Matching and specificity criteria. | |
| StyleDeclarations | declarations |
| std::shared_ptr< const StyleSizing > | sizing |
| Optional immutable runtime sizing; shared ownership, never a view. | |
| std::shared_ptr< const std::vector< StyleRolePatch > > | roles |
| Optional cold immutable semantic declarations. | |
One owned selector/declaration pair in source order.
|
inline |
| other | Owning value to compare. |
| StyleDeclarations portals::StyleRule::declarations |
Values overriding less-specific rules.