Skip to main content

map_role

Function map_role 

pub fn map_role(role: Role) -> Role
Expand description

E.g. Role::Spinner becomes a busy AkRole::ProgressIndicator and Role::ToggleButton becomes AkRole::Button carrying toggled state.