Skip to main content

ComponentBuilderRender

Trait ComponentBuilderRender 

Source
pub trait ComponentBuilderRender<RenderFn, Marker>: Sized {
    // Required method
    fn into_vcomponent(self, render_fn: RenderFn) -> VComponent;
}
Expand description

Convert built props into a component with a specific render function.

Required Methods§

Source

fn into_vcomponent(self, render_fn: RenderFn) -> VComponent

Create a VComponent from these props and the render function.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<RenderFn, Marker> ComponentBuilderRender<RenderFn, Marker> for ()
where RenderFn: ComponentFunction<(), Marker>, Marker: 'static,

Source§

fn into_vcomponent(self, render_fn: RenderFn) -> VComponent

Implementors§

Source§

impl<RenderFn, Marker> ComponentBuilderRender<RenderFn, Marker> for PortalProps
where RenderFn: ComponentFunction<PortalProps, Marker>, Marker: 'static,