pub trait MutableTreeEdit {
// Required method
fn edit_file<P: Marshallable>(
&self,
path: &Path,
allow_generated: bool,
allow_reformatting: bool,
) -> Result<TreeEditor<'_, P>, EditorError>;
}Expand description
Allow calling .edit_file(“debian/control”) on a tree
Required Methods§
sourcefn edit_file<P: Marshallable>(
&self,
path: &Path,
allow_generated: bool,
allow_reformatting: bool,
) -> Result<TreeEditor<'_, P>, EditorError>
fn edit_file<P: Marshallable>( &self, path: &Path, allow_generated: bool, allow_reformatting: bool, ) -> Result<TreeEditor<'_, P>, EditorError>
Edit a file in a tree
Object Safety§
This trait is not object safe.