Backend Adapter Examples
These examples keep backend coverage focused on adapter deltas instead of repeating the full product story.
egui
- File:
examples/10_backend_egui.rs - Run:
& "$env:USERPROFILE\.cargo\bin\cargo.exe" run --example backend_egui --features egui
- Expected output: converted
eguiprimitives such asColor32,Frame, cursor, semantic colors, and shadow values.
iced
- File:
examples/11_backend_iced.rs - Run:
& "$env:USERPROFILE\.cargo\bin\cargo.exe" run --example backend_iced --features iced
- Expected output: converted
icedprimitives such asColor,Padding, cursor interaction, semantic colors, and shadows.
slint
- File:
examples/12_backend_slint.rs - Run:
& "$env:USERPROFILE\.cargo\bin\cargo.exe" run --example backend_slint --features slint
- Expected output: converted
slintprimitives such asslint::Color, lengths, cursor wrapper, semantic colors, and shadow tuples.
Why these exist: each adapter example answers “how do I bridge Twill values into this runtime?” without pretending Twill ships a full widget kit.