# options.OptionSchema.scopes

- **Module:** options.OptionSchema
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/options.rs#L151
- **Page:** https://libtmux.org/en/rs/latest/reference/options-optionschema-scopes/

```
options.OptionSchema.scopes(self) -> &'static [OptionScope]
```

Return every table the option may be written in.

Usually one, and tmux names no primary among the rest: `remain-on-exit`
is a window option and a pane option both, and a write is legal at
either.
