zng_txt

Macro formatx

source
macro_rules! formatx {
    ($($tt:tt)*) => { ... };
}
Expand description

Creates a Txt by formatting using the format_args! syntax.

Note that this behaves like a format! for Txt, but it can be more performant because the text type can represent &'static str and can i

ยงExamples

let text = formatx!("Hello {}", "World!");