Macro moto::render

source ·
macro_rules! render {
    ($arg:expr) => { ... };
    ($style:ident, $value:expr) => { ... };
    ($style:ident, $value:expr, $($rest:tt)*) => { ... };
}
Expand description

§render!

same like show! but returns a string instead of printing it e.g. render!(red_bold,"hello world") => returns a string with “hello world” in red bold