Macro lazybar_core::format_struct
source ยท macro_rules! format_struct { ($name:ident, $($args:ident),+) => { ... }; }
Expand description
Defines a struct to hold format strings, along with a constructor.
The constructor has the following function signature:
fn new(value: Vec<String>) -> Self
value
must have the same number of elements as args
passed to this
macro, and new
will panic otherwise.