pub trait Fragment {
// Required method
fn apply<'a>(&self, dom: FragmentBuilder<'a>) -> FragmentBuilder<'a>;
}Expand description
A fragment is a collection of children which can be inserted into a DomBuilder.
See the documentation for fragment! for more details.
Required Methods§
fn apply<'a>(&self, dom: FragmentBuilder<'a>) -> FragmentBuilder<'a>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".