is_fmt_valid

Function is_fmt_valid 

Source
pub const fn is_fmt_valid<T: PrintfArgs>(fmt: &[c_char]) -> bool
Expand description

Returns whether fmt is (1) a valid C-style string and (2) a format string compatible with the tuple of arguments T when used in a printf(3)-like function.