Gets the pattern type.
StaticanyCreates a new CBORPattern that matches any CBOR value.
StaticvalueCreates a new CBORPattern that matches a specific CBOR value.
StaticpatternCreates a new CBORPattern that matches CBOR values using dcbor-pattern expressions.
StaticfromCreates a new CBORPattern from a dcbor-pattern Pattern.
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 CBOR values with support for exact values and advanced pattern matching.
Corresponds to the Rust
CBORPatternenum in cbor_pattern.rs