Expand description
Predicates for integers.
Structs§
- I8Eq
- Checks whether the given value is equal to
N. - I8Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- I8Ge
- Checks whether the given value is greater than or equal to
N. - I8Ge
Error - Represents errors that occur when provided value is less than some bound.
- I8Gt
- Checks whether the given value is greater than
N. - I8Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- I8Le
- Checks whether the given value is less than or equal to
N. - I8Le
Error - Represents errors that occur when provided value is greater than some bound.
- I8Lt
- Checks whether the given value is less than
N. - I8Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- I8Mod
- Checks whether the given value divided by
Dhas moduloM. - I8Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - I8Ne
- Checks whether the given value is not equal to
N. - I8Ne
Error - Represents errors that occur when provided value is equal to some bound.
- I16Eq
- Checks whether the given value is equal to
N. - I16Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- I16Ge
- Checks whether the given value is greater than or equal to
N. - I16Ge
Error - Represents errors that occur when provided value is less than some bound.
- I16Gt
- Checks whether the given value is greater than
N. - I16Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- I16Le
- Checks whether the given value is less than or equal to
N. - I16Le
Error - Represents errors that occur when provided value is greater than some bound.
- I16Lt
- Checks whether the given value is less than
N. - I16Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- I16Mod
- Checks whether the given value divided by
Dhas moduloM. - I16Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - I16Ne
- Checks whether the given value is not equal to
N. - I16Ne
Error - Represents errors that occur when provided value is equal to some bound.
- I32Eq
- Checks whether the given value is equal to
N. - I32Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- I32Ge
- Checks whether the given value is greater than or equal to
N. - I32Ge
Error - Represents errors that occur when provided value is less than some bound.
- I32Gt
- Checks whether the given value is greater than
N. - I32Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- I32Le
- Checks whether the given value is less than or equal to
N. - I32Le
Error - Represents errors that occur when provided value is greater than some bound.
- I32Lt
- Checks whether the given value is less than
N. - I32Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- I32Mod
- Checks whether the given value divided by
Dhas moduloM. - I32Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - I32Ne
- Checks whether the given value is not equal to
N. - I32Ne
Error - Represents errors that occur when provided value is equal to some bound.
- I64Eq
- Checks whether the given value is equal to
N. - I64Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- I64Ge
- Checks whether the given value is greater than or equal to
N. - I64Ge
Error - Represents errors that occur when provided value is less than some bound.
- I64Gt
- Checks whether the given value is greater than
N. - I64Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- I64Le
- Checks whether the given value is less than or equal to
N. - I64Le
Error - Represents errors that occur when provided value is greater than some bound.
- I64Lt
- Checks whether the given value is less than
N. - I64Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- I64Mod
- Checks whether the given value divided by
Dhas moduloM. - I64Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - I64Ne
- Checks whether the given value is not equal to
N. - I64Ne
Error - Represents errors that occur when provided value is equal to some bound.
- I128Eq
- Checks whether the given value is equal to
N. - I128
EqError - Represents errors that occur when provided value is not equal to some bound.
- I128Ge
- Checks whether the given value is greater than or equal to
N. - I128
GeError - Represents errors that occur when provided value is less than some bound.
- I128Gt
- Checks whether the given value is greater than
N. - I128
GtError - Represents errors that occur when provided value is less than or equal to some bound.
- I128Le
- Checks whether the given value is less than or equal to
N. - I128
LeError - Represents errors that occur when provided value is greater than some bound.
- I128Lt
- Checks whether the given value is less than
N. - I128
LtError - Represents errors that occur when provided value is greater than or equal to some bound.
- I128Mod
- Checks whether the given value divided by
Dhas moduloM. - I128
ModError - Represents errors when the provided value divided by
divisordoes not equalmodulo. - I128Ne
- Checks whether the given value is not equal to
N. - I128
NeError - Represents errors that occur when provided value is equal to some bound.
- IsizeEq
- Checks whether the given value is equal to
N. - Isize
EqError - Represents errors that occur when provided value is not equal to some bound.
- IsizeGe
- Checks whether the given value is greater than or equal to
N. - Isize
GeError - Represents errors that occur when provided value is less than some bound.
- IsizeGt
- Checks whether the given value is greater than
N. - Isize
GtError - Represents errors that occur when provided value is less than or equal to some bound.
- IsizeLe
- Checks whether the given value is less than or equal to
N. - Isize
LeError - Represents errors that occur when provided value is greater than some bound.
- IsizeLt
- Checks whether the given value is less than
N. - Isize
LtError - Represents errors that occur when provided value is greater than or equal to some bound.
- Isize
Mod - Checks whether the given value divided by
Dhas moduloM. - Isize
ModError - Represents errors when the provided value divided by
divisordoes not equalmodulo. - IsizeNe
- Checks whether the given value is not equal to
N. - Isize
NeError - Represents errors that occur when provided value is equal to some bound.
- U8Eq
- Checks whether the given value is equal to
N. - U8Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- U8Ge
- Checks whether the given value is greater than or equal to
N. - U8Ge
Error - Represents errors that occur when provided value is less than some bound.
- U8Gt
- Checks whether the given value is greater than
N. - U8Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- U8Le
- Checks whether the given value is less than or equal to
N. - U8Le
Error - Represents errors that occur when provided value is greater than some bound.
- U8Lt
- Checks whether the given value is less than
N. - U8Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- U8Mod
- Checks whether the given value divided by
Dhas moduloM. - U8Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - U8Ne
- Checks whether the given value is not equal to
N. - U8Ne
Error - Represents errors that occur when provided value is equal to some bound.
- U16Eq
- Checks whether the given value is equal to
N. - U16Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- U16Ge
- Checks whether the given value is greater than or equal to
N. - U16Ge
Error - Represents errors that occur when provided value is less than some bound.
- U16Gt
- Checks whether the given value is greater than
N. - U16Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- U16Le
- Checks whether the given value is less than or equal to
N. - U16Le
Error - Represents errors that occur when provided value is greater than some bound.
- U16Lt
- Checks whether the given value is less than
N. - U16Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- U16Mod
- Checks whether the given value divided by
Dhas moduloM. - U16Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - U16Ne
- Checks whether the given value is not equal to
N. - U16Ne
Error - Represents errors that occur when provided value is equal to some bound.
- U32Eq
- Checks whether the given value is equal to
N. - U32Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- U32Ge
- Checks whether the given value is greater than or equal to
N. - U32Ge
Error - Represents errors that occur when provided value is less than some bound.
- U32Gt
- Checks whether the given value is greater than
N. - U32Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- U32Le
- Checks whether the given value is less than or equal to
N. - U32Le
Error - Represents errors that occur when provided value is greater than some bound.
- U32Lt
- Checks whether the given value is less than
N. - U32Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- U32Mod
- Checks whether the given value divided by
Dhas moduloM. - U32Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - U32Ne
- Checks whether the given value is not equal to
N. - U32Ne
Error - Represents errors that occur when provided value is equal to some bound.
- U64Eq
- Checks whether the given value is equal to
N. - U64Eq
Error - Represents errors that occur when provided value is not equal to some bound.
- U64Ge
- Checks whether the given value is greater than or equal to
N. - U64Ge
Error - Represents errors that occur when provided value is less than some bound.
- U64Gt
- Checks whether the given value is greater than
N. - U64Gt
Error - Represents errors that occur when provided value is less than or equal to some bound.
- U64Le
- Checks whether the given value is less than or equal to
N. - U64Le
Error - Represents errors that occur when provided value is greater than some bound.
- U64Lt
- Checks whether the given value is less than
N. - U64Lt
Error - Represents errors that occur when provided value is greater than or equal to some bound.
- U64Mod
- Checks whether the given value divided by
Dhas moduloM. - U64Mod
Error - Represents errors when the provided value divided by
divisordoes not equalmodulo. - U64Ne
- Checks whether the given value is not equal to
N. - U64Ne
Error - Represents errors that occur when provided value is equal to some bound.
- U128Eq
- Checks whether the given value is equal to
N. - U128
EqError - Represents errors that occur when provided value is not equal to some bound.
- U128Ge
- Checks whether the given value is greater than or equal to
N. - U128
GeError - Represents errors that occur when provided value is less than some bound.
- U128Gt
- Checks whether the given value is greater than
N. - U128
GtError - Represents errors that occur when provided value is less than or equal to some bound.
- U128Le
- Checks whether the given value is less than or equal to
N. - U128
LeError - Represents errors that occur when provided value is greater than some bound.
- U128Lt
- Checks whether the given value is less than
N. - U128
LtError - Represents errors that occur when provided value is greater than or equal to some bound.
- U128Mod
- Checks whether the given value divided by
Dhas moduloM. - U128
ModError - Represents errors when the provided value divided by
divisordoes not equalmodulo. - U128Ne
- Checks whether the given value is not equal to
N. - U128
NeError - Represents errors that occur when provided value is equal to some bound.
- UsizeEq
- Checks whether the given value is equal to
N. - Usize
EqError - Represents errors that occur when provided value is not equal to some bound.
- UsizeGe
- Checks whether the given value is greater than or equal to
N. - Usize
GeError - Represents errors that occur when provided value is less than some bound.
- UsizeGt
- Checks whether the given value is greater than
N. - Usize
GtError - Represents errors that occur when provided value is less than or equal to some bound.
- UsizeLe
- Checks whether the given value is less than or equal to
N. - Usize
LeError - Represents errors that occur when provided value is greater than some bound.
- UsizeLt
- Checks whether the given value is less than
N. - Usize
LtError - Represents errors that occur when provided value is greater than or equal to some bound.
- Usize
Mod - Checks whether the given value divided by
Dhas moduloM. - Usize
ModError - Represents errors when the provided value divided by
divisordoes not equalmodulo. - UsizeNe
- Checks whether the given value is not equal to
N. - Usize
NeError - Represents errors that occur when provided value is equal to some bound.
Type Aliases§
- I8Closed
- Represents
[M, N]intervals. - I8Closed
Open - Represents
[M, N)intervals. - I8Div
- Checks whether the given value is divisible by
D. - I8Even
- Checks whether the given value is even.
- I8Negative
- Checks whether the given value is negative.
- I8Non
Negative - Checks whether the given value is non-negative (positive or zero).
- I8Non
Positive - Checks whether the given value is non-positive (negative or zero).
- I8Non
Zero - Checks whether the given value is non-zero.
- I8Odd
- Checks whether the given value is odd.
- I8Open
- Represents
(M, N)intervals. - I8Open
Closed - Represents
(M, N]intervals. - I8Positive
- Checks whether the given value is positive.
- I8Zero
- Checks whether the given value is zero.
- I16Closed
- Represents
[M, N]intervals. - I16Closed
Open - Represents
[M, N)intervals. - I16Div
- Checks whether the given value is divisible by
D. - I16Even
- Checks whether the given value is even.
- I16Negative
- Checks whether the given value is negative.
- I16Non
Negative - Checks whether the given value is non-negative (positive or zero).
- I16Non
Positive - Checks whether the given value is non-positive (negative or zero).
- I16Non
Zero - Checks whether the given value is non-zero.
- I16Odd
- Checks whether the given value is odd.
- I16Open
- Represents
(M, N)intervals. - I16Open
Closed - Represents
(M, N]intervals. - I16Positive
- Checks whether the given value is positive.
- I16Zero
- Checks whether the given value is zero.
- I32Closed
- Represents
[M, N]intervals. - I32Closed
Open - Represents
[M, N)intervals. - I32Div
- Checks whether the given value is divisible by
D. - I32Even
- Checks whether the given value is even.
- I32Negative
- Checks whether the given value is negative.
- I32Non
Negative - Checks whether the given value is non-negative (positive or zero).
- I32Non
Positive - Checks whether the given value is non-positive (negative or zero).
- I32Non
Zero - Checks whether the given value is non-zero.
- I32Odd
- Checks whether the given value is odd.
- I32Open
- Represents
(M, N)intervals. - I32Open
Closed - Represents
(M, N]intervals. - I32Positive
- Checks whether the given value is positive.
- I32Zero
- Checks whether the given value is zero.
- I64Closed
- Represents
[M, N]intervals. - I64Closed
Open - Represents
[M, N)intervals. - I64Div
- Checks whether the given value is divisible by
D. - I64Even
- Checks whether the given value is even.
- I64Negative
- Checks whether the given value is negative.
- I64Non
Negative - Checks whether the given value is non-negative (positive or zero).
- I64Non
Positive - Checks whether the given value is non-positive (negative or zero).
- I64Non
Zero - Checks whether the given value is non-zero.
- I64Odd
- Checks whether the given value is odd.
- I64Open
- Represents
(M, N)intervals. - I64Open
Closed - Represents
(M, N]intervals. - I64Positive
- Checks whether the given value is positive.
- I64Zero
- Checks whether the given value is zero.
- I128
Closed - Represents
[M, N]intervals. - I128
Closed Open - Represents
[M, N)intervals. - I128Div
- Checks whether the given value is divisible by
D. - I128
Even - Checks whether the given value is even.
- I128
Negative - Checks whether the given value is negative.
- I128
NonNegative - Checks whether the given value is non-negative (positive or zero).
- I128
NonPositive - Checks whether the given value is non-positive (negative or zero).
- I128
NonZero - Checks whether the given value is non-zero.
- I128Odd
- Checks whether the given value is odd.
- I128
Open - Represents
(M, N)intervals. - I128
Open Closed - Represents
(M, N]intervals. - I128
Positive - Checks whether the given value is positive.
- I128
Zero - Checks whether the given value is zero.
- Isize
Closed - Represents
[M, N]intervals. - Isize
Closed Open - Represents
[M, N)intervals. - Isize
Div - Checks whether the given value is divisible by
D. - Isize
Even - Checks whether the given value is even.
- Isize
Negative - Checks whether the given value is negative.
- Isize
NonNegative - Checks whether the given value is non-negative (positive or zero).
- Isize
NonPositive - Checks whether the given value is non-positive (negative or zero).
- Isize
NonZero - Checks whether the given value is non-zero.
- Isize
Odd - Checks whether the given value is odd.
- Isize
Open - Represents
(M, N)intervals. - Isize
Open Closed - Represents
(M, N]intervals. - Isize
Positive - Checks whether the given value is positive.
- Isize
Zero - Checks whether the given value is zero.
- U8Closed
- Represents
[M, N]intervals. - U8Closed
Open - Represents
[M, N)intervals. - U8Div
- Checks whether the given value is divisible by
D. - U8Even
- Checks whether the given value is even.
- U8Non
Zero - Checks whether the given value is non-zero.
- U8Odd
- Checks whether the given value is odd.
- U8Open
- Represents
(M, N)intervals. - U8Open
Closed - Represents
(M, N]intervals. - U8Zero
- Checks whether the given value is zero.
- U16Closed
- Represents
[M, N]intervals. - U16Closed
Open - Represents
[M, N)intervals. - U16Div
- Checks whether the given value is divisible by
D. - U16Even
- Checks whether the given value is even.
- U16Non
Zero - Checks whether the given value is non-zero.
- U16Odd
- Checks whether the given value is odd.
- U16Open
- Represents
(M, N)intervals. - U16Open
Closed - Represents
(M, N]intervals. - U16Zero
- Checks whether the given value is zero.
- U32Closed
- Represents
[M, N]intervals. - U32Closed
Open - Represents
[M, N)intervals. - U32Div
- Checks whether the given value is divisible by
D. - U32Even
- Checks whether the given value is even.
- U32Non
Zero - Checks whether the given value is non-zero.
- U32Odd
- Checks whether the given value is odd.
- U32Open
- Represents
(M, N)intervals. - U32Open
Closed - Represents
(M, N]intervals. - U32Zero
- Checks whether the given value is zero.
- U64Closed
- Represents
[M, N]intervals. - U64Closed
Open - Represents
[M, N)intervals. - U64Div
- Checks whether the given value is divisible by
D. - U64Even
- Checks whether the given value is even.
- U64Non
Zero - Checks whether the given value is non-zero.
- U64Odd
- Checks whether the given value is odd.
- U64Open
- Represents
(M, N)intervals. - U64Open
Closed - Represents
(M, N]intervals. - U64Zero
- Checks whether the given value is zero.
- U128
Closed - Represents
[M, N]intervals. - U128
Closed Open - Represents
[M, N)intervals. - U128Div
- Checks whether the given value is divisible by
D. - U128
Even - Checks whether the given value is even.
- U128
NonZero - Checks whether the given value is non-zero.
- U128Odd
- Checks whether the given value is odd.
- U128
Open - Represents
(M, N)intervals. - U128
Open Closed - Represents
(M, N]intervals. - U128
Zero - Checks whether the given value is zero.
- Usize
Closed - Represents
[M, N]intervals. - Usize
Closed Open - Represents
[M, N)intervals. - Usize
Div - Checks whether the given value is divisible by
D. - Usize
Even - Checks whether the given value is even.
- Usize
NonZero - Checks whether the given value is non-zero.
- Usize
Odd - Checks whether the given value is odd.
- Usize
Open - Represents
(M, N)intervals. - Usize
Open Closed - Represents
(M, N]intervals. - Usize
Zero - Checks whether the given value is zero.