Skip to main content

validate_toolbar_items

Function validate_toolbar_items 

Source
pub fn validate_toolbar_items(items: &[ToolbarItem]) -> Result<(), ToolbarError>
Expand description

Validates a toolbar item list.

Rules: tool ids are unique, and every radio_group refers to an existing checkable tool (the group owner). Separators carry no state and are not validated.