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).
render_capability_matrix_md
Render markdown capability matrix (elements only, not feature keys).
support_for
Lookup support for an element or feature key.
validate_config
Walk config layouts and collect non-full capability warnings for platform.