StaticnewCreates a new TraversePattern with the given patterns.
Gets all patterns in this traversal.
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.
A pattern that matches a traversal order of patterns.
Corresponds to the Rust
TraversePatternstruct in traverse_pattern.rs