macro_rules! array { () => { ... }; ($elem:expr; $n:expr) => { ... }; ($($x:expr),+ $(,)?) => { ... }; }
Expand description
Convenience macro to construct a Byml
array using array literal syntax.
Example:
let arr = array!(
Byml::Bool(true),
Byml::I32(0),
Byml::String("test".into())
);