pub trait Merge {
type Item;
// Required method
fn merge(left: &Self::Item, right: &Self::Item) -> Result<Self::Item>;
// Provided method
fn merge_peaks(peak1: &Self::Item, peak2: &Self::Item) -> Result<Self::Item> { ... }
}
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.