# `RustQ.Rustler.Opts`
[🔗](https://github.com/dannote/rustq/blob/v0.11.1/lib/rustq/rustler/opts.ex#L1)

Generates Rustler keyword/options structs, decoders, and option helper functions.

# `decoder`

```elixir
@spec decoder(
  atom() | String.t(),
  keyword()
) :: [RustQ.Rust.AST.Struct.t() | RustQ.Rust.AST.Function.t()]
```

Builds an options struct and its decoder from structural field metadata.

# `helpers`

```elixir
@spec helpers(keyword()) :: [RustQ.Rust.AST.Function.t()]
```

Builds reusable keyword/options decoding helpers.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
