Gets the underlying dcbor-pattern BoolPattern.
StaticanyCreates a new BoolPattern that matches any boolean value.
StaticvalueCreates a new BoolPattern that matches the specific boolean value.
StaticfromCreates a new BoolPattern from a dcbor-pattern BoolPattern.
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 boolean values.
This is a wrapper around dcbor_pattern::BoolPattern that provides envelope-specific integration.
Corresponds to the Rust
BoolPatternstruct in bool_pattern.rs