Gets the pattern type.
StaticanyCreates a new ArrayPattern that matches any array.
StaticcountCreates a new ArrayPattern that matches arrays with a specific length.
StaticintervalCreates a new ArrayPattern that matches arrays within a length range.
Optionalmax: numberStaticfromCreates a new ArrayPattern from a dcbor-pattern.
StaticwithCreates a new ArrayPattern with envelope patterns for element matching.
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 array values in envelope leaf nodes.
Corresponds to the Rust
ArrayPatternstruct in array_pattern.rs