pub fn param_toggle<M: Clone + Debug + 'static>(
id: impl Into<u32>,
params: &ParamCache<impl Params>,
) -> ToggleWidget<'_, M>Expand description
Create a toggle switch bound to a parameter.
pub fn param_toggle<M: Clone + Debug + 'static>(
id: impl Into<u32>,
params: &ParamCache<impl Params>,
) -> ToggleWidget<'_, M>Create a toggle switch bound to a parameter.