pub trait Container<Msg>: Widget<Msg> {
// Required method
fn set_children(&mut self, children: Vec<Node<Msg>>);
}Expand description
A widget whose children are built with a closure, see View::add_with.
Required Methods§
Sourcefn set_children(&mut self, children: Vec<Node<Msg>>)
fn set_children(&mut self, children: Vec<Node<Msg>>)
Receives the children built for this widget.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".