use_hook

Function use_hook 

Source
pub fn use_hook<T>(init: impl FnOnce() -> T) -> T
where T: Clone + 'static,