num_
traits
0.2.15
Module identities
Module Items
Traits
Functions
In crate num_
traits
num_traits
Module
identities
Copy item path
Source
Traits
§
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
.