macro_rules! elements {
($vis:vis $($ElementName:ident $(($name:literal))? $([$AttributeName:ident])? $({ $($attribute:ident),* $(,)? })?;)*) => { ... };
}Available on crate feature
typed only.Expand description
Make many typed elements.
This uses the same syntax as element!, but repeated and seperated
by semicolons (;).