pub trait Merge<Other = Self> {
// Required method
fn merge(&self, other: Other) -> Self;
}Expand description
The Merge trait allows merging two structs.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".