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

query.fields.TextField.is_in

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.fields
Declared in
TextField
Package
libtmux
Source
crates/libtmux/src/query/fields.rs
is_in ( self , values : I ) → FilterExpr<T>
method [source]
method [source]
is_in

Test exact membership in ordered string values.

Rust authoring accepts any IntoIterator; the version 1 wire value is an array, never a scalar string. An empty input never matches. Invalid candidate UTF-8 also never matches.

Examples

use libtmux::query::TextField;
use libtmux::query::__private;
struct Row;
let field: TextField<Row> = __private::text_field("row", "name");
let _ = field.is_in(["build", "test"]);

0 declared, 0 inherited

Esc

Type to search.