rust_patch/
lib.rs

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