Skip to main content

emit_render

Function emit_render 

Source
pub fn emit_render(
    views: &[ViewDecl],
    ctx: &mut FuncContext,
    f: &mut Function,
) -> CodegenResult<()>
Expand description

Emit the render(view_id: i32) -> i32 function.

Evaluates the specified view and returns a serialized Surface tree as a record value.