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

FilterExpr.not

Negate this expression.

Source and package
Qualified name
libtmux::query::FilterExpr::not
Module
query
Declared in
FilterExpr
Package
libtmux
Source
crates/libtmux/src/query.rs
impl<T> FilterExpr<T> #[must_use] // The named method mirrors the portable grammar; implementing `Not` // would add an operator surface outside this contract. #[allow(clippy::should_implement_trait)] pub fn not(self) -> Self

Examples#

use libtmux::query::BoolField;
use libtmux::query::__private;
struct Row;
let field: BoolField<Row> = __private::bool_field("row", "done");
assert_eq!(field.eq(false).not(), field.eq(false).not());

Guides#

Pages that discuss not.

Esc

Type to search.

Reference previewOpen reference