pub trait Populate {
// Required methods
fn attach(&mut self, other: Component) -> Result<&mut Self, Box<dyn Error>>;
fn attach_vec(
&mut self,
other: Vec<Component>
) -> Result<&mut Self, Box<dyn Error>>;
}pub trait Populate {
// Required methods
fn attach(&mut self, other: Component) -> Result<&mut Self, Box<dyn Error>>;
fn attach_vec(
&mut self,
other: Vec<Component>
) -> Result<&mut Self, Box<dyn Error>>;
}