[][src]Function seed_hooks::new_state

pub fn new_state<T, F>(data_fn: F) -> StateAccess<T> where
    F: FnOnce() -> T,
    T: 'static,