Function use_hook

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