pub trait Mergeable {
// Required method
fn merge_with(self, other: Self) -> Self;
}
Expand description
A trait for merging two values.
Required Methods§
sourcefn merge_with(self, other: Self) -> Self
fn merge_with(self, other: Self) -> Self
Merge other
into self
and return the result.
Object Safety§
This trait is not object safe.