Skip to main content

DeclarativeView

Trait DeclarativeView 

Source
pub trait DeclarativeView {
    // Required method
    fn compile(
        self,
        scope: &UiScope,
        context: &UiRenderContext<'_>,
        component_id: ComponentId,
        force_components: bool,
    ) -> UiElement;
}

Required Methods§

Source

fn compile( self, scope: &UiScope, context: &UiRenderContext<'_>, component_id: ComponentId, force_components: bool, ) -> UiElement

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§