# `Toddy.Iced.Wrapping`
[🔗](https://github.com/toddy-ui/toddy-elixir/blob/v0.3.0/lib/toddy/iced/wrapping.ex#L1)

Line-break strategy for the text `wrapping` prop.

Maps to iced's `text::Wrapping` enum.

# `t`

```elixir
@type t() :: :none | :word | :glyph | :word_or_glyph
```

# `encode`

```elixir
@spec encode(wrapping :: t()) :: String.t()
```

Encodes a wrapping value to the wire format.

## Examples

    iex> Toddy.Iced.Wrapping.encode(:none)
    "none"

    iex> Toddy.Iced.Wrapping.encode(:word)
    "word"

    iex> Toddy.Iced.Wrapping.encode(:glyph)
    "glyph"

    iex> Toddy.Iced.Wrapping.encode(:word_or_glyph)
    "word_or_glyph"

---

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