QueryIteratorExt.matching_owned
Lazily move items accepted by matcher, without cloning them.
Source and package
- Qualified name
-
libtmux::query:: Query Iterator Ext:: matching _owned - Module
- query
- Declared in
QueryIteratorExt- Package
- libtmux
- Source
- crates/libtmux/src/query.rs
-
- Ownership
- The matcher borrows each item for the comparison. Use
Self::matching()withiter()to retain a borrow of each item.doc comment · query.rs:533
Description
The matcher borrows each item for the comparison. Use
Self::matching()withiter()to retain a borrow of each item. OrdinaryIterator::filteralso accepts closures and infers their argument types; closures passed here need an explicit argument type.
Same owner
containment 1 of 4 shownOther members of query.QueryIteratorExt whose names share matching_owned. They sit on the same type; that does not make them behave alike.
Recorded calls
source callsThe 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.QueryIteratorExt.matching_owned.