Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

interface libtmux-swift latest

Filterable

A model that can be filtered declaratively.

Source and package
Qualified name
Filterable
Package
libtmux-swift
Source
Sources/LibTmux/FilterExpr.swift
interface Filterable : protocol Filterable

Description#

Key paths are lowered to stable ids inside a synchronous call and then discarded. Nothing stores one: AnyKeyPath is a non-Sendable class, so keeping it would make every expression that held it unsendable, and an expression's whole purpose is to travel.

Members4#

  • filterFieldID(for:) method The stable wire id for a key path, or nil if the property is not filterable.
  • filterFieldType(_:) method The value kind an id names, or nil when this model does not know it.
  • filterFormatField(_:) method The tmux format field an id reads, or nil when it has no single one.
  • filterValue(_:of:) method Reads the field an id names, or nil if this model has no such field.
Esc

Type to search.

Reference previewOpen reference