Module identities

Source

Traits§

ConstOne
Defines an associated constant representing the multiplicative identity element for Self.
ConstZero
Defines an associated constant representing the additive identity element for Self.
One
Defines a multiplicative identity element for Self.
Zero
Defines an additive identity element for Self.

Functions§

one
Returns the multiplicative identity, 1.
zero
Returns the additive identity, 0.