Isize¶
No import is needed.
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
compare¶
Returns a negative number, zero, or a positive number for less than, equal to, or greater than other.
abs¶
Returns the magnitude of this value. The most negative isize has no positive counterpart and is returned unchanged.
signum¶
Returns -1, 0, or 1 for a negative, zero, or positive value.
min¶
Returns the smaller of this value and other.
max¶
Returns the larger of this value and other.
clamp¶
Returns the value limited to the inclusive range lo through hi.
parse¶
Parses the text as this numeric type; returns ParseError if invalid or out of range.