Skip to main content

Module capabilities

Module capabilities 

Source
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§

CapabilityEntry
One matrix cell.
CapabilityWarning
Warning produced while walking a config tree.

Enums§

Support
How well an element (or feature) is supported on a platform.
WidgetPlatform
Target renderer family.

Constants§

ELEMENT_TYPES
Wire type names for every WidgetElement variant (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 validate and docs tooling.
render_capability_matrix_md
Render markdown capability matrix for docs (### headings — embed under a single ## Capability matrix on 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.