new_state

Function new_state 

Source
pub fn new_state<S>(data: S) -> State<S>
Expand description

Creates a new State with the given data.