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

SparseValues.indices

The indices that hold a value, ascending.

Source and package
Qualified name
libtmux::hooks::SparseValues::indices
Module
hooks
Declared in
SparseValues
Package
libtmux
Source
crates/libtmux/src/hooks.rs
impl<T> SparseValues<T> pub fn indices(&self) -> Keys<'_, u32, T>

Description#

Worth reading rather than assuming: the gaps are tmux's, and writing to len() would overwrite an entry whenever there is one.

Type parameters
Esc

Type to search.

Reference previewOpen reference