[−][src]Function primeval::primes_gen
pub fn primes_gen(limit: usize) -> Box<dyn Iterator<Item = usize>>
Generate primes up to a given limit using the Seive of Eratorthenes Use Sieve_of_Eratosthenes for prime generation (https://en.wikipedia.org/wiki/Sieve_of_Eratosthenes)