pub fn perform_edit<S: Content>(
    tree: &mut Tree,
    input: &mut S,
    edit: &Edit<S>
) -> InputEdit