Skip to main content

CustomView

Trait CustomView 

Source
pub trait CustomView: Render {
    // Provided method
    fn view(props: impl IntoValue<Self::Props>) -> Custom<Self> { ... }
}
Expand description

Rating::view(props): shorthand for Custom::<Rating>::new(props).

Provided Methods§

Source

fn view(props: impl IntoValue<Self::Props>) -> Custom<Self>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<W: Render> CustomView for W