pub trait StructMerge<Src> {
// Required method
fn merge(&mut self, src: Src);
}Expand description
Merge another struct into Self.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementors§
impl<Target, Src: StructMergeInto<Target>> StructMerge<Src> for Target
Implement the StructMerge trait for all types that provide StructMergeInto for it.