pub fn apply_patch(stage: &Stage, patch: &Patch) -> Result<Stage, PatchError>
Apply a patch and return the resulting stage. The input is cloned; the original is untouched.