[][src]Module iced::renderer

Write your own renderer.

There is not a common entrypoint or trait for a renderer in Iced. Instead, every Widget constrains its generic Renderer type as necessary.

This approach is flexible and composable. For instance, the Text widget only needs a text::Renderer while a Checkbox widget needs both a text::Renderer and a checkbox::Renderer, reusing logic.

In the end, a renderer satisfying all the constraints is needed to build a UserInterface.

Traits

Debugger

A renderer able to graphically explain a Layout.