toggle

Function toggle 

Source
pub fn toggle(label: impl View, toggle: &Binding<bool>) -> Toggle
Expand description

Creates a new Toggle with the specified label and binding for the toggle state.