Skip to main content

toggle_disabled_tool

Function toggle_disabled_tool 

Source
pub fn toggle_disabled_tool(s: &mut Settings, tool: &str, enabled: bool)
Expand description

Toggle-helper used by the DisabledTools multiselect editor (Task 5). enabled = true removes the tool from the disabled set; enabled = false adds it if absent.