Macro fixedstr::str_format

source ·
macro_rules! str_format {
    ($ty_size:ty, $($args:tt)*) => { ... };
}
Expand description

creates a formated string of given type (by implementing core::fmt::Write):

   let s = str_format!(str8,"abc{}{}{}",1,2,3);

will truncate if capacity exceeded, without warning.