Skip to main content

render_frame_with_prose

Function render_frame_with_prose 

Source
pub fn render_frame_with_prose<F>(
    spec: &FrameSpec,
    payload: &Expr,
    render_prose: F,
) -> Result<String>
where F: FnMut(&Symbol, &Expr) -> Result<String>,
Expand description

Renders a frame payload, delegating prose holes to render_prose.