1 2 3 4 5 6 7 8 9 10
#![no_std] #![doc = include_str!("../README.md")] #[doc(hidden)] pub use rust_patch_derive::Patch; /// A struct other structs can be patched with pub trait Patch<Target> { /// Apply self to target fn apply(self, target: Target) -> Target; }