num_traits

Module identities

Source

Traits§

  • Defines a multiplicative identity element for Self.
  • Defines an additive identity element for Self.

Functions§

  • Returns the multiplicative identity, 1.
  • Returns the additive identity, 0.