Skip to main content

StructMergeInto

Trait StructMergeInto 

Source
pub trait StructMergeInto<Target: ?Sized> {
    // Required method
    fn merge_into(self, target: &mut Target);
}
Expand description

Counterpart of StructMerge. This will merge Self into a given target.

Required Methods§

Source

fn merge_into(self, target: &mut Target)

Check the StructMerge::merge docs.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§