Trait UseRenderStatic

Source
pub trait UseRenderStatic {
    type RenderArg: Props;
    type RenderOutput;

    // Required method
    fn use_render(props: &Self::RenderArg) -> Self::RenderOutput;
}

Required Associated Types§

Source

type RenderArg: Props

Source

type RenderOutput

See [UseRender::Output]

Required Methods§

Source

fn use_render(props: &Self::RenderArg) -> Self::RenderOutput

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§