[][src]Function bolero_generator::from_fn

pub fn from_fn<F, T>(generator: F) -> FnGenerator<F, T> where
    F: Fn(&'r mut (dyn RngCore + 'r)) -> T,