Function with_random_state

Source
pub fn with_random_state<F, T>(state: RandomState, f: F) -> T
where F: FnOnce() -> T,
Expand description

Use the given random state for the scope of f