# options.OptionSchema.accepts

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

```
options.OptionSchema.accepts(self, scope: OptionScope) -> bool
```

Report whether tmux will place a write of this option at `scope`.

tmux resolves an option by name rather than by the flags it was sent
with, so a write it does not accept here is not refused: it lands at
whichever table the name belongs to, and reports success for doing it.
