Crate parity

Source
Expand description

Parity is a trait for indicating whether a number is odd or even.

Traitsยง

Parity
Provides an interface to check the evenness or oddness of a value.