The integral template for which the maximum value, either inclusive or exclusive, has been specified.
This template represents one for integral values where the maximum constraint, whether it be an inclusive or exclusive one, has been specified. Now, a minimum constraint can be specified, closing the now half-open interval, or a "multiple of" constraint can be specified, allowing to match only the values which are multiple of this number. Neither of this constraints are mandatory to apply. This will produce a template for which either the minimum and the maximum values have been specified, or the maximum and the "multiple of" values have been specified.
Type parameters
A
the actual integral type for which instantiating this type
B
the actual type of the template for which either the minimum and the maximum have been specified altogether
C
the actual type of the template for which either the maximum and the divisor have been specified altogether
D
the actual type of the template for which all possible constraints have been specified altogether
Attributes
Constructor
creates a new instance of this trait given the already specified maximum, the function that returns a new template given the minimum and the maximum, the function that returns a new template given the maximum and the "multiple of" value and the one that returns a new JsonIntegralTemplate from this one