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
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.