pub fn Switch<State: 'static, F: Fn(&mut State, bool) + 'static>(
checked: bool,
on_toggle: F,
) -> SwitchView<State>Expand description
PascalCase alias for switch.
pub fn Switch<State: 'static, F: Fn(&mut State, bool) + 'static>(
checked: bool,
on_toggle: F,
) -> SwitchView<State>PascalCase alias for switch.