Function ra_syntax::algo::generate

source ·
pub fn generate<T>(
    seed: Option<T>,
    step: impl Fn(&T) -> Option<T>
) -> impl Iterator<Item = T>