Gets the pattern type.
StaticanyCreates a new SubjectPattern that matches any subject.
StaticpatternCreates a new SubjectPattern that matches subjects matching the given pattern.
Gets the inner pattern if this is a Pattern type, undefined otherwise.
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 subjects in envelopes.
Corresponds to the Rust
SubjectPatternenum in subject_pattern.rs