pub trait Merge {
// Required method
fn merge(self, other: Self) -> Self;
}Expand description
Trait for merging configuration values.
Convention: other takes precedence over self.
For Option types, other wins if Some, otherwise falls back to self.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.