Merge

Trait Merge 

Source
pub trait Merge {
    type Output;

    // Required method
    fn merge(&self, other: &Self) -> Self::Output;
}
Expand description

Merge two items together

Required Associated Types§

Source

type Output

The type of the result of the merge

Required Methods§

Source

fn merge(&self, other: &Self) -> Self::Output

Perform the merging operation

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§