Function map_role
pub fn map_role(role: Role) -> RoleExpand description
E.g. Role::Spinner becomes a busy AkRole::ProgressIndicator and
Role::ToggleButton becomes AkRole::Button carrying toggled state.
pub fn map_role(role: Role) -> RoleE.g. Role::Spinner becomes a busy AkRole::ProgressIndicator and
Role::ToggleButton becomes AkRole::Button carrying toggled state.