Skip to main content

WithChildrenExt

Trait WithChildrenExt 

Source
pub trait WithChildrenExt: Render + Sized {
    // Provided method
    fn with_children(self, children: Markup) -> SlottedComponent<Self> { ... }
}

Provided Methods§

Source

fn with_children(self, children: Markup) -> SlottedComponent<Self>

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.

Implementors§

Source§

impl<T> WithChildrenExt for T
where T: Render,