diff --git a/crates/xilem_web/src/class.rs b/crates/xilem_web/src/class.rs index da2f58769..66b83ca23 100644 --- a/crates/xilem_web/src/class.rs +++ b/crates/xilem_web/src/class.rs @@ -52,6 +52,14 @@ where } } +impl IntoClasses for [T; N] { + fn into_classes(self, classes: &mut Vec>) { + for itm in self { + itm.into_classes(classes); + } + } +} + macro_rules! impl_tuple_intoclasses { ($($name:ident : $type:ident),* $(,)?) => { impl<$($type),*> IntoClasses for ($($type,)*)