# `RustQ.Rust.Identifier`
[🔗](https://github.com/dannote/rustq/blob/v0.11.1/lib/rustq/rust/identifier.ex#L1)

Safe conversion of finite generator names into Rust identifier atoms.

RustQ AST node names are represented as atoms for native decoding. Use
`atom!/1` when a generator derives a Rust identifier from bounded structural
metadata rather than calling `String.to_atom/1` directly.

# `atom!`

```elixir
@spec atom!(atom() | String.t()) :: atom()
```

Returns a Rust identifier atom, rejecting invalid or oversized names.

# `valid?`

```elixir
@spec valid?(String.t()) :: boolean()
```

Returns whether a string is a plain Rust identifier accepted by `atom!/1`.

---

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