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.

MoreLess about this notice

method libtmux-rs

Predicate.matches_one

Match this relation predicate against one already-loaded value.

Source and package
Qualified name
libtmux::query::private::Predicate::matches_one
Module
query.private
Declared in
Predicate
Package
libtmux
Source
crates/libtmux/src/query/private.rs
#[must_use] pub fn matches_one<U: Filterable>( &self, value: Option<&U> ) -> bool

Description

The is quantifier evaluates an existing value. An absent value, another quantifier, or another predicate family returns false.

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

Type parameters
Parameters

Recorded calls

source calls
No call edges in the Rust model.

The Rust reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls query.private.Predicate.matches_one.

Esc
Search in

Type to search.

Reference previewOpen reference