Expand description
Predicates for u16 values.
Structs§
- Equal
- Checks whether the given value is equal to
N. - Equal
Error - Represents errors that occur when the provided
u16is not equal toother. - Greater
- Checks whether the given value is greater than
N. - Greater
Error - Represents errors that occur when the provided
u16is less than or equal toother. - Greater
OrEqual - Checks whether the given value is greater than or equal to
N. - Greater
OrEqual Error - Represents errors that occur when the provided
u16is less thanother. - Less
- Checks whether the given value is less than
N. - Less
Error - Represents errors that occur when the provided
u16is greater than or equal toother. - Less
OrEqual - Checks whether the given value is less than or equal to
N. - Less
OrEqual Error - Represents errors that occur when the provided
u16is greater thanother. - Modulo
- Checks whether
u16divided byDhas moduloM. - Modulo
Error - Represents errors that occur when the provided
u16divided bydivisordoes not equalmodulo. - NotEqual
- Checks whether the given value is not equal to
N. - NotEqual
Error - Represents errors that occur when the provided
u16is equal toother.
Type Aliases§
- Closed
- Represents
[M, N]intervals. - Closed
Open - Represents
[M, N)intervals. - Divisible
- Checks whether the given value is divisible by
D. - Even
- Checks whether the given value is even.
- NonZero
- Checks whether the given value is not equal to zero (
0). - Odd
- Checks whether the given value is odd.
- Open
- Represents
(M, N)intervals. - Open
Closed - Represents
(M, N]intervals. - Zero
- Checks whether the given value is equal to zero (
0).