Trait concoct::View

source ·
pub trait View: PartialEq + 'static {
    // Required method
    fn view(&mut self) -> impl IntoView;
}
Expand description

Viewable element that handles diffing.

Required Methods§

source

fn view(&mut self) -> impl IntoView

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl View for &'static str

source§

fn view(&mut self) -> impl IntoView

source§

impl View for ()

source§

fn view(&mut self) -> impl IntoView

source§

impl View for String

source§

fn view(&mut self) -> impl IntoView

Implementors§