Skip to main content

with_state

Function with_state 

Source
fn with_state<T>(f: impl FnOnce(&mut State) -> T) -> T