Skip to main content

program_without_components

Function program_without_components 

Source
pub fn program_without_components(
    depth: usize,
    count: usize,
    shared: bool,
) -> String
Expand description

The same view with the components written out by hand.

The control the component measurement needs: whatever the emitter does with a component, this is what the programmer would otherwise have typed, so the difference between the two is what components cost. It is the source that differs, not the tree — both render the same page.