[][src]Function checkers::with_state

pub fn with_state<F, R>(f: F) -> R where
    F: FnOnce(&RefCell<State>) -> R, 

Perform an operation, while having access to the thread-local state.