pub trait Patchable<P> {
// Required method
fn apply_patch(&mut self, patch: P);
}Expand description
Trait to indicate that a type can be patched.
Required Methods§
fn apply_patch(&mut self, patch: P)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".