Skip to main content

on_own_nodes_with

Function on_own_nodes_with 

Source
pub fn on_own_nodes_with<R>(
    model: &mut Model,
    root: &Shape,
    parts: &[Shape],
    run: impl FnOnce(&mut Model, &Shape, &[Shape]) -> OgeomResult<R>,
    history: impl FnOnce(&mut R) -> &mut History,
) -> OgeomResult<R>
Expand description

As on_own_nodes, for an operation whose answer holds its history beside other things: history finds it in the answer.

ยงErrors

As on_own_nodes.