pub trait Patch<Target> {
// Required method
fn apply(self, target: Target) -> Target;
}Expand description
A struct other structs can be patched with
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".