Skip to main content

with_random_state

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