mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
Motivation: the git pre-commit hook is confused by the mix of 2021 and
2024 in the same workspace...
The only problem this raises is the std::env::set_var("LANGUAGE", lang) in
demos/printerdemo/rust/lib.rs, pre-existing but now explicitly marked as unsafe
because it actually is. Added a TODO there.
|
||
|---|---|---|
| .. | ||
| assets | ||
| node | ||
| rust | ||
| ui | ||
| README.md | ||
imagefilter
A Rust-only example that shows how to use the Rust image crate to do image manipulations and feed the result into Slint.
.slint Design |
Rust Source | TypeScript Source | Online wasm Preview |
|---|---|---|---|
main.slint |
main.rs |
main.ts |
Online simulation |
