ViewConfiguration

Trait ViewConfiguration 

Source
pub trait ViewConfiguration: 'static {
    type View: View;

    // Required method
    fn render(self) -> Self::View;
}
Expand description

A trait for types that can be used to configure views.

View configurations are used by hooks to modify how views are rendered.

Required Associated Types§

Source

type View: View

The view type that this configuration produces.

Required Methods§

Source

fn render(self) -> Self::View

Renders this configuration into a view.

Implementors§