Skip to main content

effect_of

Function effect_of 

Source
pub fn effect_of(
    kind: BlockKind,
    node: &FlowNode,
    body: Effect,
    resolve: &dyn Fn(&str) -> String,
) -> Effect
Expand description

What node, a block of kind, does. body is what a for-each’s body block does, and is ignored for any other kind. resolve fills in a template with what the run holds now: a key is a key only when it has text once it is filled in.