pub trait Container {
// Provided method
fn bind_container(&self, _ctx: &NodeContext) { ... }
}Expand description
Trait for nodes that semantically interpret child content.
Containers should treat NodeContext::received_children as their canonical
payload set and NodeContext::retained_received_children as the set of
exit-retained payload nodes that may still need placement or transition
handling.
Encapsulated implementation children remain a private detail of the node’s own template or primitive assembly and should generally not drive container layout logic.
Containers can call this from their existing mount logic to install reactive behavior on top of those normalized views.
Provided Methods§
fn bind_container(&self, _ctx: &NodeContext)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".