Module num_traits::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.