Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

query.private.Predicate

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
query.private
Package
libtmux
Source
crates/libtmux/src/query/private.rs
struct query.private.Predicate
structoverload [source]
structoverload [source]
struct query.private.Predicate

One opaque predicate passed to generated candidate dispatch.

Downstream code can inspect only the stable field name and call the typed matching or validation helpers.

The crate::query::Filterable example executes every scalar helper through a hand-written generated-code expansion.

14 declared, 0 inherited

Members

  • field method Return the stable field name used by generated dispatch.
  • matches_bool method Match a boolean candidate with this boolean predicate.
  • matches_enum method Match a custom enum candidate's stable filter string.
  • matches_many method Match this relation predicate against already-loaded related values.
  • matches_one method Match this relation predicate against one already-loaded value.
  • matches_signed method Match a signed candidate widened without loss to i128.
  • matches_text method Match a strict UTF-8 candidate with this text predicate.
  • matches_unsigned method Match an unsigned candidate widened without loss to u128.
  • validate_bool method Validate that this predicate is a well-formed boolean predicate.
  • validate_enum method Validate this predicate against a custom enum's stable variants.
  • validate_integer method Validate this predicate for one fixed-width integer kind.
  • validate_many method Validate this predicate as a to-many relation over U.
  • validate_one method Validate this predicate as a to-one relation over U.
  • validate_text method Validate that this predicate is a well-formed text predicate.
Esc

Type to search.