Predicate.validate_bool
Validate that this predicate is a well-formed boolean predicate.
Source and package
- Qualified name
-
libtmux::query:: private:: Predicate:: validate _bool - Module
- query.private
- Declared in
Predicate- Package
- libtmux
- Source
- crates/libtmux/src/query/private.rs
- pub fn validate_bool(&self) -> Result< (), Filter
Expression >Error -
- Errors
- Returns
FilterExpressionErrorKind::UnknownOperatorfor another scalar family andFilterExpressionErrorKind::InvalidStructurefor an invalid equality shape.doc comment · private.rs:393
Description
Errors
Returns
FilterExpressionErrorKind::UnknownOperatorfor another scalar family andFilterExpressionErrorKind::InvalidStructurefor an invalid equality shape.The
crate::query::Filterableexample executes this method in a hand-written generated-code expansion.
Recorded calls
source callsThe Rust reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls query.private.Predicate.validate_bool.