# `ToonEx.ToonImplHelper`
[🔗](https://github.com/ohhi-vn/toon_ex/blob/v1.1.0/lib/toon_ex/impl/impl_helper.ex#L1)

# `__using__`
*macro* 

Macro to generate simple implementation of protocol.
Support for easy to use with ToonEx.Encoder.

Utility macro to generate implementation for ToonEx.Encoder.

The target struct must have `encode!` function for real encoding struct data to TOON in module.

Usage:

```Elixir
use ToonEx.ToonImplHelper, impl: [AModule1, AModule2, ...]
```

Using macro without option in `use` keyword.
Target module must have `encode!` function
Generate implementation for ToonEx.Encoder like this:

```Elixir
gen_impl AModule
```

# `gen_impl`
*macro* 

---

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