pub trait StructMergeInto<Target: ?Sized> {
// Required methods
fn merge_into(self, target: &mut Target);
fn merge_into_soft(self, target: &mut Target);
}Expand description
Counterpart of StructMerge.
This will merge Self into a given target.
Required Methods§
Sourcefn merge_into(self, target: &mut Target)
fn merge_into(self, target: &mut Target)
Check the StructMerge::merge docs.
Sourcefn merge_into_soft(self, target: &mut Target)
fn merge_into_soft(self, target: &mut Target)
Check the StructMerge::merge_soft docs.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".