# hooks.SparseValues.indices

- **Module:** hooks.SparseValues
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/hooks.rs#L136
- **Page:** https://libtmux.org/reference/rs/hooks-sparsevalues-indices/

```
hooks.SparseValues.indices(self) -> Keys<'_, u32, T>
```

The indices that hold a value, ascending.

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