Trait gpui2::ParentElement
source · pub trait ParentElement {
// Required method
fn children_mut(&mut self) -> &mut SmallVec<[AnyElement; 2]>;
// Provided methods
fn child(self, child: impl RenderOnce) -> Self
where Self: Sized { ... }
fn children(
self,
children: impl IntoIterator<Item = impl RenderOnce>
) -> Self
where Self: Sized { ... }
}