pub trait AttachChildren<C>: Sized {
// Required method
fn attach_children<I>(self, children: I) -> Self
where I: IntoIterator<Item = C>;
}Expand description
Trait for builders that can accept an iterator of child values. Implement
alongside AttachChild to handle spread (..iter) children efficiently.
Required Methods§
fn attach_children<I>(self, children: I) -> Selfwhere
I: IntoIterator<Item = C>,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.