pub trait Merge: Sized {
// Required method
fn merge(&mut self, other: Self);
}
Expand description
Deriavable trait for overrding configurations.
Typically, correct implementation of this trait for a struct is calling
merge for all fields, and #[derive(Merge)]
will do it for you.
Required Methods§
Object Safety§
This trait is not object safe.