Skip to main content

check_edit

Function check_edit 

Source
pub fn check_edit(
    original: &BreadFile,
    edited: &BreadFile,
    editor: Editor<'_>,
) -> Result<(), Vec<Violation>>
Expand description

Checks that edited changes original only where editor may, with every node and mesh keeping its index. Returns every change it may not make.