pub fn toggle_switch(on: &mut bool, ui: &mut Ui) -> Response
Expand description
Shows a toggle switch. https://github.com/emilk/egui/blob/master/crates/egui_demo_lib/src/demo/toggle_switch.rs
pub fn toggle_switch(on: &mut bool, ui: &mut Ui) -> Response
Shows a toggle switch. https://github.com/emilk/egui/blob/master/crates/egui_demo_lib/src/demo/toggle_switch.rs