Skip to main content

switch_control

Function switch_control 

Source
pub fn switch_control<V, W>(key: &'static str, value: V, write: W) -> Control
where V: Fn(&App) -> bool + 'static, W: Fn(bool, &mut App) + 'static,
Expand description

A switch control.