irox_units

Module bounds

Source
Expand description

Bounding Boxes and Range Checks

Structs§

Bounds
Defines a basic four-corner bounding box
GreaterThanEqualToValueError
An error type to indicate that the checked value is greater than or equal to the valid reference value
GreaterThanValue
A Range implementation to verify a value is greater than the reference value
InsideRangeError
An error type to indicate that the value is inside the prohibited value range
LessThanEqualToValueError
Error type for when a value is less than or equal to the reference value
LessThanValue
A Range implementation to verify a value is less than the reference value
OutsideRange
A Range implementation to verify a value is outside two reference values
OutsideRangeError
An error type to indicate that the checked value is outside the specified value range
WithinRange
A Range implementation to verify a value is between two reference values

Traits§

Range
A trait to check if a particular value is within range