Predicate.validate_integer
Validate this predicate for one fixed-width integer kind.
Source and package
- Qualified name
-
libtmux::query:: private:: Predicate:: validate _integer - Module
- query.private
- Declared in
Predicate- Package
- libtmux
- Source
- crates/libtmux/src/query/private.rs
- #[allow(clippy::needless_pass_by_value)] pub fn validate_integer(&self, kind: Integer
Kind ) -> Result< (), FilterExpression >Error -
Description
Errors
Returns
FilterExpressionErrorKind::UnknownOperatorfor a non-integer family,FilterExpressionErrorKind::InvalidStructurefor an invalid equality shape, orFilterExpressionErrorKind::InvalidLiteralfor signedness or range mismatches.The
crate::query::Filterableexample executes this method for both signed and unsigned fields in a hand-written expansion.- Parameters
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_integer.