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

server.discovery.WindowTreeFields

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

View as Markdown

Module
server.discovery
Package
libtmux
Source
crates/libtmux/src/server/discovery.rs
struct server.discovery.WindowTreeFields
structoverload [source]
structoverload [source]
struct server.discovery.WindowTreeFields

Typed filter handles for WindowTree .

Examples

use libtmux::query::Filterable as _;
use libtmux::{Pane, WindowTree};
let windows = WindowTree::filter_fields();
let panes = Pane::filter_fields();
// `any` asks whether some pane matches, which is not the same question as
// filtering the panes themselves: this keeps whole windows.
let has_dead_pane = windows.panes.any(panes.pane_dead.eq(true));

2 declared, 0 inherited

Members

  • panes attribute The panes in this window.
  • window attribute The window's own fields, the same set Window filters on.
Esc

Type to search.