Crate parity

source ·
Expand description

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

Traits

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