Expand description
Element × platform capability matrix. Platform capability matrix for widget IR elements.
Source of truth for what each renderer supports. Used for docs generation
and non-blocking warnings on crate::Widget::set_widget_config(set path).
Re-exports§
pub use crate::snapshot::CORE_ELEMENTS;pub use crate::snapshot::EXTENDED_ELEMENTS;
Structs§
- Capability
Entry - One matrix cell.
- Capability
Warning - Warning produced while walking a config tree.
Enums§
- Support
- How well an element (or feature) is supported on a platform.
- Widget
Platform - Target renderer family.
Constants§
- ELEMENT_
TYPES - Wire
typenames for everyWidgetElementvariant (serde rename). - FEATURE_
KEYS - Feature flags checked in addition to element type (e.g. image.url).
Functions§
- capability_
table - Full capability table (elements + feature keys).
- log_
capabilities - Log warnings for the current compile target (non-blocking).
- measure_
element_ coverage - Walk
tests/cases+tests/golden/{platform}and count how many goldens cover each element type on each platform. Used to keep the hand matrix honest. - render_
capabilities_ coverage_ json - Measured golden coverage artifact (
schemas/capabilities.coverage.json). - render_
capabilities_ json - Machine-readable capability matrix for CLI
validateand docs tooling. - render_
capability_ matrix_ md - Render markdown capability matrix for docs (
###headings — embed under a single## Capability matrixon the tiers page). - support_
for - Lookup support for an element or feature key.
- validate_
config - Walk config layouts and collect non-full capability warnings for
platform.