pub type NonZeroRational32 = Ratio<NonZeroSign, u32, u32>;
Expand description
Non zero rational number.
The resulting type after applying the -
operator.
The resulting type after applying the -
operator.
Whether the value is not equal to zero. Read more
Returns the multiplicative identity element of Self
, 1
. Read more
Sets self
to the multiplicative identity element of Self
, 1
.
Returns true
if self
is equal to the multiplicative identity. Read more
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
Restrict a value to a certain interval. Read more