Skip to main content

switch

Function switch 

Source
pub fn switch<'a>(
    ui: &mut Ui,
    on: &'a mut bool,
    atoms: impl IntoAtoms<'a>,
) -> Response
Expand description

A switch (Switch): an on/off toggle with a track and a thumb.