pub trait DiffExt {
// Required method
fn walk_changes<T, F>(
&self,
format: DiffFormat,
f: F,
) -> Result<(), GitError>
where F: FnMut(DiffDelta<'_>, Option<DiffHunk<'_>>, DiffLine<'_>) -> T,
T: WalkOutput;
}
Required Methods§
fn walk_changes<T, F>(&self, format: DiffFormat, f: F) -> Result<(), GitError>
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.