Returns the minimum value of the type.
()
| 54 | { |
| 55 | /// Returns the minimum value of the type. |
| 56 | pub fn min() -> NonNeg<T> { |
| 57 | NonNeg(T::zero()) |
| 58 | } |
| 59 | |
| 60 | /// Returns the maximum value of the type. |
| 61 | pub fn max() -> NonNeg<T> |
no test coverage detected