Trait IntoRender

pub trait IntoRender {
    type Output;

    // Required method
    fn into_render(self) -> Self::Output;
}
Expand description

Declares that this type can be converted into some other type, which can be rendered.

Required Associated Types§

type Output

The renderable type into which this type can be converted.

Required Methods§

fn into_render(self) -> Self::Output

Consumes this value, transforming it into the renderable type.

Implementors§

§

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

§

type Output = T