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.

method libtmux-rs latest

Predicate.matches_enum

Match a custom enum candidate's stable filter string.

Source and package
Qualified name
libtmux::query::private::Predicate::matches_enum
Module
query.private
Declared in
Predicate
Package
libtmux
Source
crates/libtmux/src/query/private.rs
#[must_use] pub fn matches_enum(&self, candidate: &str) -> bool

Description#

The crate::query::Filterable example executes this method in a hand-written generated-code expansion.

Parameters
Esc

Type to search.

Reference previewOpen reference