mirror of
https://github.com/slint-ui/slint.git
synced 2025-09-29 05:14:48 +00:00
![]() For the backend selector, this means that when a backend is selected explicitly, and initialization fails, don't try `create_default_backend()` but propagate the error. For the Rust code generator, propagate the first ensure_backend() errors. Any subsequent onces (unlikely, since the first thing any public new() calls is ensure_backend) will unwrap. |
||
---|---|---|
.. | ||
cpp.rs | ||
rust.rs |