pub trait Primality: Sized {
    fn is_prime(self) -> bool;
    fn generate_lucas_certificate(self) -> Option<LucasCertificate<Self>>;
}
Expand description

Optimized methods of checking and certifying primality

Required Methods

Check primality with absolute certainty

Generate a lucas certificate, certifying the number’s primality

Implementations on Foreign Types

Implementors