query.fields.TextField
Rust
- Python Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- query.fields
- Package
- libtmux
- Source
- crates/libtmux/src/query/fields.rs
-
A typed handle for a portable text field on
T.All operators require strict UTF-8 in the candidate and return
falsefor invalid bytes before any outer logical negation. Rust membership authoring accepts anyIntoIterator; the version 1 wire representation uses an array. A scalar string is not substring membership: useTextField::containsfor that operation.Vis the type a snapshot reads the field as:TmuxTextunless the field is a typed ID such ascrate::PaneId. Filtering matches the text either way.Examples
use libtmux::query::TextField;use libtmux::query::__private;struct Row;let field: TextField<Row> = __private::text_field("row", "name");let _ = field.contains("build");
12 declared, 0 inherited
Members
- contains method Test exact substring containment.
- contains_ignore_case method Test folded substring containment without normalization.
- ends_with method Test an exact string suffix.
- ends_with_ignore_case method Test a folded string suffix without normalization.
- eq method Compare a candidate with one exact string.
- eq_ignore_case method Compare using Unicode default case folding without normalization.
- is_in method Test exact membership in ordered string values.
- not_in method Test exact exclusion from ordered string values.
- regex method Compile and match a case-sensitive Rust regular expression.
- regex_ignore_case method Compile and match a Unicode case-insensitive Rust regular expression.
- starts_with method Test an exact string prefix.
- starts_with_ignore_case method Test a folded string prefix without normalization.