Macro ui_format
Source macro_rules! ui_format {
($val:expr, $fmt:literal) => { ... };
}
Expand description
Constructs a UIString with a custom format string.
Example:
ⓘlet value: WeakVar<f32> = ...;
let example: UIString = ui_format!(value, "{:.2}");