Provide alternative to slint::format!("{}", something_implementing_display)
(Rust)
#6625
Labels
a:language-rust
Rust API and codegen (mO,mS)
enhancement
New feature or request
good first issue
Good for newcomers
It would be nice to have a function that easily transforms something implementing
Display
to aSharedString
without having to use a format string, like the common.to_string()
:How about you provide the following equivalent:
The text was updated successfully, but these errors were encountered: