TextField
A typed handle for a portable text field on T.
Source and package
- Qualified name
-
libtmux::query:: fields:: Text Field - Module
- query.fields
- Package
- libtmux
- Source
- crates/libtmux/src/query/fields.rs
-
Description#
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::contains()for 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");
Members12#
- contains method Test exact substring containment.
- ends_with method Test an exact string suffix.
- eq_ignore_case method Compare using Unicode default case folding without normalization.
- regex method Compile and match a case-sensitive Rust regular expression.
- starts_with method Test an exact string prefix.
- contains_ignore_case method Test folded substring containment without normalization.
- ends_with_ignore_case method Test a folded string suffix without normalization.
- eq method Compare a candidate with one exact string.
- is_in method Test exact membership in ordered string values.
- not_in method Test exact exclusion from ordered string values.
- regex_ignore_case method Compile and match a Unicode case-insensitive Rust regular expression.
- starts_with_ignore_case method Test a folded string prefix without normalization.