Skip to main content

IntoView

Trait IntoView 

Source
pub trait IntoView
where Self: Sized + Render + RenderHtml + Send,
{ // Required method fn into_view(self) -> View<Self>; }
Expand description

A trait that is implemented for types that can be rendered.

Required Methods§

Source

fn into_view(self) -> View<Self>

Wraps the inner type.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<T> IntoView for T
where T: Sized + Render + RenderHtml + Send,