pub trait StructMergeRef<Src> {
    fn merge_ref(&mut self, src: &Src);
}
Expand description

Merge another borrowed struct into Self.

All fields to be merged on the borrowed struct have to implement Clone.

Required Methods

Merge the given struct into Self.

Implementors

Implement the StructMergeRef trait for all types that provide StructMergeInto for it.