Gets the underlying dcbor-pattern NumberPattern.
StaticanyCreates a new NumberPattern that matches any number.
StaticexactCreates a new NumberPattern that matches the exact number.
StaticrangeCreates a new NumberPattern that matches numbers within the specified range.
StaticgreaterCreates a new NumberPattern that matches numbers greater than the specified value.
StaticgreaterCreates a new NumberPattern that matches numbers greater than or equal to the specified value.
StaticlessCreates a new NumberPattern that matches numbers less than the specified value.
StaticlessCreates a new NumberPattern that matches numbers less than or equal to the specified value.
StaticnanCreates a new NumberPattern that matches NaN values.
StaticinfinityCreates a new NumberPattern that matches positive infinity.
StaticnegCreates a new NumberPattern that matches negative infinity.
StaticfromCreates a new NumberPattern from a dcbor-pattern NumberPattern.
Returns true if the pattern matches the haystack.
Returns true if the Display of the matcher is complex, i.e. contains nested patterns or other complex structures that require its text rendering to be surrounded by grouping parentheses.
Returns a string representation of an object.
Hash code for use in Maps/Sets.
Pattern for matching number values.
This is a wrapper around dcbor_pattern::NumberPattern that provides envelope-specific integration.
Corresponds to the Rust
NumberPatternstruct in number_pattern.rs