Trait Prime
Other items inrelp_num
pub trait Prime: NonZero { fn is_prime(&self) -> bool; }
Determining whether a number is a prime.
fn is_prime(&self) -> bool
impl Prime for u64
impl Prime for u32