pub trait MergeWith: Sized {
    fn merge_with(self, other: impl Into<Self>) -> Self;
}
Expand description

Trait for merging partial objects

Implemented for all partial objects themselves, and also some related types that partial objects usually contain.

Required Methods§

Merge this object with another

Panics

Merging two objects that cannot be merged is considered a programmer error and will result in a panic.

Implementations on Foreign Types§

Implementors§