Skip to main content

use_state_bool_auto_clean_with

Function use_state_bool_auto_clean_with 

Source
pub fn use_state_bool_auto_clean_with(
    get_initial_value: &mut (impl FnMut() -> bool + MaybeUnwindSafe),
    free: &Closure<dyn FnMut(bool)>,
) -> UseStateBoolObject