pub fn apply(
format: &dyn PresetFormat,
registry: &dyn ParamRegistry,
model: &mut dyn PresetModel,
resolved: &[Resolved],
) -> Result<ApplyReport, EditErrors>Expand description
Applies resolved edits in order, then runs the format scan.
A parameter or route equal to what the model already holds changes
nothing. Its skip says equals the template when the model held it
before the run, and equals an earlier edit when an edit of the same
run set it, such as a route that wrote the amount of its slot. A
parameter equal to its default is skipped when the key is absent and
the format reads an absent key as the default.
ยงErrors
EditErrors with one entry per edit the format refuses, or with the
scan error. The model then holds every edit that succeeded, before and
after a failing one.