Expand description
module for the SharedString and related things
Structs§
- Shared
String - A string type used by the Slint run-time.
Traits§
- ToShared
String - A trait for converting a value to a
SharedString
.
Functions§
- format
- Same as
std::fmt::format()
, but return aSharedString
instead - shared_
string_ from_ number - Convert a f62 to a SharedString
- shared_
string_ from_ number_ fixed - Convert a f64 to a SharedString with a fixed number of digits after the decimal point
- shared_
string_ from_ number_ precision - Convert a f64 to a SharedString following a similar logic as JavaScript’s Number.toPrecision()