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.

struct libtmux-go latest

PaneRel

PaneRel applies quantifiers to a materialized Pane relation; its zero value is invalid. Some is existential, Every is universal and vacuously true for an empty relation, and None excludes; enabled quantifiers are conjunctive.

Source and package
Qualified name
tmux.PaneRel
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/filter_generated.go
struct tmux.PaneRel

Fields3#

PaneRel fields
NameTypeDescription
Every *PaneFilter Every requires a universal match and is vacuously true for an empty relation.
None *PaneFilter None excludes the candidate when any related value matches.
Some *PaneFilter Some requires an existential match: at least one related value must match.

Members2#

  • MarshalJSON method MarshalJSON validates and encodes the pane relation; failures wrap ErrInvalidFilter.
  • UnmarshalJSON method UnmarshalJSON clears the receiver, strictly decodes a pane relation, then validates it. Unknown or duplicate fields, trailing data, and semantic failures wrap ErrInvalidFilter; the receiver may retain decoded state on error.
Esc

Type to search.

Reference previewOpen reference