Gets the pattern type.
StaticanyCreates a new MapPattern that matches any map.
StaticintervalCreates a new MapPattern that matches maps within a size range.
Optionalmax: numberReturns 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 map values in envelope leaf nodes.
Corresponds to the Rust
MapPatternstruct in map_pattern.rs