MCPcopy Create free account
hub / github.com/TheRedDeveloper/ply-engine / show

Method show

src/lib.rs:1138–1144  ·  view source on GitHub ↗

Evaluate the layout and render all commands.

(
        &mut self,
        handle_custom_command: impl Fn(&RenderCommand<CustomElementData>),
    )

Source from the content-addressed store, hash-verified

1136
1137 /// Evaluate the layout and render all commands.
1138 pub async fn show(
1139 &mut self,
1140 handle_custom_command: impl Fn(&RenderCommand<CustomElementData>),
1141 ) {
1142 let commands = self.eval();
1143 renderer::render(commands, handle_custom_command).await;
1144 }
1145}
1146
1147#[cfg(target_arch = "wasm32")]

Callers

nothing calls this directly

Calls 2

renderFunction · 0.85
evalMethod · 0.80

Tested by

no test coverage detected