Trait MergeMut

Source
pub trait MergeMut {
    // Required method
    fn merge_mut(&mut self, other: &Self) -> Result<(), Box<dyn Error>>;
}
Expand description

Trait for types that support merging two values and replace the target values with the result of the merge operation.

Required Methods§

Source

fn merge_mut(&mut self, other: &Self) -> Result<(), Box<dyn Error>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§