Macro thyme::set_variables

source ·
macro_rules! set_variables {
    ($ui:ident; $($key: expr, $val: expr),+ $(,)?) => { ... };
}
Expand description

Pass in the ui frame, followed by a list of key value pairs, to easily set a large number of variables. Each key must be Into while each val must have a to_string method.