pub trait Patch: Diff {
// Required method
fn patch(old: &Self, diff: &Self::Diff) -> Self;
}Expand description
Apply a diff to transform a value.
Required Methods§
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.